wok-current annotate nasm/receipt @ rev 24675
updated iptraf-ng (1.1.4 -> 1.2.1)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Mar 12 08:01:52 2022 +0100 (2022-03-12) |
parents | e2073ef01171 |
children | 5926178cd6fa |
rev | line source |
---|---|
pascal@1719 | 1 # SliTaz package receipt. |
pascal@1719 | 2 |
pascal@1719 | 3 PACKAGE="nasm" |
pascal@23975 | 4 VERSION="2.15.05" |
pascal@1719 | 5 CATEGORY="development" |
Hans-G?nter@21520 | 6 TAGS="assembler" |
pascal@1719 | 7 SHORT_DESC="The netwide assembler." |
pascal@1719 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15584 | 9 LICENSE="BSD" |
Hans-G?nter@21520 | 10 WEB_SITE="https://www.nasm.us/" |
Hans-G?nter@21520 | 11 |
pankso@16059 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pascal@1719 | 13 WGET_URL="${WEB_SITE}pub/$PACKAGE/releasebuilds/$VERSION/$TARBALL" |
Hans-G?nter@21520 | 14 |
pankso@16059 | 15 HOST_ARCH="i486 arm" |
pascal@1719 | 16 |
pascal@24433 | 17 # What is the latest version available today? |
pascal@24433 | 18 current_version() |
pascal@24433 | 19 { |
pascal@24433 | 20 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24433 | 21 sed '/releasebuilds/!d;s|.*releasebuilds/||;s|/.*||;/[0-9]/!d;q' |
pascal@24433 | 22 } |
pascal@24433 | 23 |
pascal@1719 | 24 # Rules to configure and make the package. |
pascal@1719 | 25 compile_rules() |
pascal@1719 | 26 { |
slaxemulator@10091 | 27 ./configure $CONFIGURE_ARGS && |
pascal@1719 | 28 make && |
slaxemulator@9523 | 29 make INSTALLROOT=$DESTDIR install |
pascal@1719 | 30 } |
pascal@1719 | 31 |
pascal@1719 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1719 | 33 genpkg_rules() |
pascal@1719 | 34 { |
pascal@1719 | 35 mkdir -p $fs/usr |
pascal@15584 | 36 cp -a $install/usr/bin $fs/usr |
pascal@1719 | 37 } |