wok-6.x view nasm/receipt @ rev 25492
Up foomatic-db (4.0-20221117)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 18 09:54:27 2022 +0000 (21 months ago) |
parents | e2073ef01171 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="nasm"
4 VERSION="2.15.05"
5 CATEGORY="development"
6 TAGS="assembler"
7 SHORT_DESC="The netwide assembler."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="BSD"
10 WEB_SITE="https://www.nasm.us/"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="${WEB_SITE}pub/$PACKAGE/releasebuilds/$VERSION/$TARBALL"
15 HOST_ARCH="i486 arm"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - $WEB_SITE 2>/dev/null | \
21 sed '/releasebuilds/!d;s|.*releasebuilds/||;s|/.*||;/[0-9]/!d;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure $CONFIGURE_ARGS &&
28 make &&
29 make INSTALLROOT=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr
36 cp -a $install/usr/bin $fs/usr
37 }