mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-09 18:37:15 +08:00
36 lines
879 B
Bash
36 lines
879 B
Bash
#
|
|
# Platform Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer abveritas[at]chakra-project[dot]org>
|
|
|
|
pkgname=yasm
|
|
pkgver=1.3.0
|
|
pkgrel=1
|
|
pkgdesc="A rewrite of NASM to allow for multiple syntax supported (NASM, TASM, GAS, etc.)"
|
|
arch=('x86_64')
|
|
url="http://www.tortall.net/projects/yasm/"
|
|
license=('BSD' 'GPL2' 'LGPL2.1' 'PerlArtistic')
|
|
depends=('glibc')
|
|
options=('staticlibs')
|
|
source=(http://www.tortall.net/projects/yasm/releases/${pkgname}-${pkgver}.tar.gz)
|
|
sha1sums=('b7574e9f0826bedef975d64d3825f75fbaeef55e')
|
|
|
|
build() {
|
|
cd ${pkgname}-${pkgver}
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd ${pkgname}-${pkgver}
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
cd ${pkgname}-${pkgver}
|
|
make DESTDIR="${pkgdir}" install
|
|
install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
|
install -Dm644 BSD.txt "${pkgdir}/usr/share/licenses/${pkgname}/BSD.txt"
|
|
}
|
|
|