milis/talimatname/temel/nasm/talimat

29 lines
799 B
Plaintext
Raw Normal View History

2017-10-27 21:56:50 +02:00
# Tanım: 80x86 assembler designed for portability and modularity.
2016-02-24 01:27:23 +01:00
# URL: http://nasm.sourceforge.net/
2017-10-27 21:56:50 +02:00
# Paketçi: milisarge
# Gerekler:
2016-02-24 01:27:23 +01:00
name=nasm
version=2.11.06
release=1
2017-10-27 21:56:50 +02:00
2016-02-24 01:27:23 +01:00
source=( ftp://ftp.debian.org/debian/pool/main/n/nasm/nasm_2.11.06-1really2.11.05.orig.tar.xz
2017-10-27 21:56:50 +02:00
http://www.nasm.us/pub/nasm/releasebuilds/$version/nasm-$version-xdoc.tar.xz)
2016-02-24 01:27:23 +01:00
build() {
cd $name-2.11.05
./configure --prefix=/usr\
--mandir=/usr/share/man
make
mkdir -p $PKG/usr/bin
mkdir -p $PKG/usr/share/man/man1
make INSTALLROOT=$PKG install
mkdir -pv $PKG/usr/share/doc/nasm-$version/html
cd ../$name-2.11.06
cp -v doc/html/*.html $PKG/usr/share/doc/nasm-$version/html
cp -v doc/*.{txt,ps,pdf} $PKG/usr/share/doc/nasm-$version
mkdir -pv $PKG/usr/share/info
cp -v doc/info/* $PKG/usr/share/info
}