wok-current view nasm/receipt @ rev 25204

updated python-mock (1.0.1 -> 3.0.5)
author Hans-G?nter Theisgen
date Wed Jul 13 14:28:15 2022 +0100 (2022-07-13)
parents e2073ef01171
children 5926178cd6fa
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 }