wok view yasm/receipt @ rev 25767

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