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