wok-current annotate yasm/receipt @ rev 25653
lzo needed from fsarchiver
author | Hans-G?nter Theisgen |
---|---|
date | Tue Feb 13 07:22:29 2024 +0100 (8 months ago) |
parents | 922f061231c2 |
children |
rev | line source |
---|---|
jozee@4536 | 1 # SliTaz package receipt. |
jozee@4536 | 2 |
jozee@4536 | 3 PACKAGE="yasm" |
devl547@17790 | 4 VERSION="1.3.0" |
jozee@4536 | 5 CATEGORY="development" |
jozee@4536 | 6 MAINTAINER="jozee@slitaz.org" |
pascal@15198 | 7 LICENSE="BSD GPL2 LGPL2" |
pankso@16026 | 8 SHORT_DESC="A rewrite of NASM with multiple syntax (NASM, TASM, GAS, etc.)" |
pascal@24974 | 9 WEB_SITE="https://github.com/yasm/yasm" |
jozee@4536 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@24974 | 11 WGET_URL="https://github.com/yasm/yasm/releases/download/v$VERSION/$TARBALL" |
pankso@16026 | 12 HOST_ARCH="i486 arm" |
jozee@4536 | 13 |
pankso@16026 | 14 DEPENDS="" |
pascal@15198 | 15 |
pascal@24304 | 16 # What is the latest version available today? |
pascal@24304 | 17 current_version() |
pascal@24304 | 18 { |
pascal@24304 | 19 wget -O - https://github.com/yasm/yasm/tags 2>/dev/null | \ |
pascal@24304 | 20 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' |
pascal@24304 | 21 } |
pascal@24304 | 22 |
jozee@4536 | 23 # Rules to configure and make the package. |
slaxemulator@11873 | 24 compile_rules() |
slaxemulator@11873 | 25 { |
slaxemulator@10054 | 26 ./configure $CONFIGURE_ARGS && |
slaxemulator@10054 | 27 make && |
slaxemulator@10054 | 28 make install |
jozee@4536 | 29 } |
jozee@4536 | 30 |
jozee@4536 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@4536 | 32 genpkg_rules() |
jozee@4536 | 33 { |
jozee@4536 | 34 mkdir -p $fs/usr |
pascal@15198 | 35 cp -a $install/usr/bin $fs/usr |
jozee@4536 | 36 } |