wok-6.x annotate nasm/receipt @ rev 25315
updated soprano and soprano-dev (2.8.0 -> 2.9.4)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jul 21 06:45:43 2022 +0100 (2022-07-21) |
parents | e2073ef01171 |
children |
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 } |