mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-05 12:27:13 +08:00
30 lines
804 B
Bash
30 lines
804 B
Bash
# maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
|
|
|
|
pkgname=nasm
|
|
pkgver=2.10.07
|
|
pkgrel=2
|
|
pkgdesc="80x86 assembler designed for portability and modularity"
|
|
url="http://www.nasm.us"
|
|
license=('BSD')
|
|
arch=('i686' 'x86_64')
|
|
depends=('glibc')
|
|
makedepends=('ghostscript')
|
|
install=nasm.install
|
|
source=(http://www.nasm.us/pub/nasm/releasebuilds/${pkgver}/${pkgname}-${pkgver}.tar.bz2)
|
|
md5sums=('af1cd6669f5e98148cd5ec42dee90f19')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
./configure --prefix=/usr
|
|
make
|
|
make -C doc info
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
make INSTALLROOT="${pkgdir}" install install_rdf
|
|
install -d "${pkgdir}/usr/share/info"
|
|
install -m644 doc/info/* "${pkgdir}/usr/share/info/"
|
|
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/nasm/LICENSE"
|
|
}
|