wok-6.x view asxxxx/receipt @ rev 25436

Up bacon (4.5), clex (4.7), rcssmin (1.1.1), remind (04.00.03)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Aug 31 16:18:16 2022 +0000 (2022-08-31)
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 }