# SliTaz package receipt. PACKAGE="yasm" VERSION="1.3.0" CATEGORY="development" MAINTAINER="jozee@slitaz.org" LICENSE="BSD GPL2 LGPL2" SHORT_DESC="A rewrite of NASM with multiple syntax (NASM, TASM, GAS, etc.)" WEB_SITE="https://github.com/yasm/yasm" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="https://github.com/yasm/yasm/releases/download/v$VERSION/$TARBALL" HOST_ARCH="i486 arm" DEPENDS="" # What is the latest version available today? current_version() { wget -O - https://github.com/yasm/yasm/tags 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. compile_rules() { ./configure $CONFIGURE_ARGS && make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr cp -a $install/usr/bin $fs/usr }