wok annotate asxxxx/receipt @ rev 25030
giblib: inserted configure parameters
author | Hans-G?nter Theisgen |
---|---|
date | Fri May 20 10:23:32 2022 +0100 (2022-05-20) |
parents | |
children |
rev | line source |
---|---|
pascal@24924 | 1 # SliTaz package receipt. |
pascal@24924 | 2 |
pascal@24924 | 3 PACKAGE="asxxxx" |
pascal@24924 | 4 VERSION="5.40" |
pascal@24924 | 5 CATEGORY="development" |
pascal@24924 | 6 SHORT_DESC="Collection of cross assemblers for many microprocessors." |
pascal@24924 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@24924 | 8 LICENSE="GPL3" |
pascal@24924 | 9 TARBALL="$PACKAGE-$VERSION.zip" |
pascal@24924 | 10 WEB_SITE="https://shop-pdp.net/ashtml/asxxxx.php" |
pascal@24924 | 11 WGET_URL="https://shop-pdp.net/_ftp/asxxxx/asxs${VERSION/./p}.zip" |
pascal@24924 | 12 |
pascal@24924 | 13 # What is the latest version available today? |
pascal@24924 | 14 current_version() |
pascal@24924 | 15 { |
pascal@24924 | 16 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24924 | 17 sed '/ersion/!d;s|.*sion ||;s|,.*||;q' |
pascal@24924 | 18 } |
pascal@24924 | 19 |
pascal@24924 | 20 # Rules to configure and make the package. |
pascal@24924 | 21 compile_rules() |
pascal@24924 | 22 { |
pascal@24924 | 23 mkdir -p $DESTDIR/usr/bin |
pascal@24924 | 24 cd $src/asxv*pxx/asxmak/linux/build |
pascal@24924 | 25 make DSTEXE=$DESTDIR/usr/bin/ |
pascal@24924 | 26 } |
pascal@24924 | 27 |
pascal@24924 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@24924 | 29 genpkg_rules() |
pascal@24924 | 30 { |
pascal@24924 | 31 mkdir -p $fs/usr $install/usr/share/doc |
pascal@24924 | 32 cp $src/*.txt $install/usr/share/doc |
pascal@24924 | 33 cp -a $install/usr/bin $fs/usr |
pascal@24924 | 34 } |
pascal@24924 | 35 |