wok diff intel2gas/receipt @ rev 11257
iron-linux: Cookutils uses wget -O $SRC/$TARBALL so we can change TARBALL to save source as TARBALL. This needs to be done for iron-linux cause other wise it will just find iron-linux.tar.gz and use the old version.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Nov 07 11:21:08 2011 +0000 (2011-11-07) |
parents | |
children | de49f29b101e |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/intel2gas/receipt Mon Nov 07 11:21:08 2011 +0000 1.3 @@ -0,0 +1,32 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="intel2gas" 1.7 +VERSION="1.3.3" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="Convert assembler source file for NASM/MASM/TASM to GAS." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.12 +WEB_SITE="http://www.niksula.cs.hut.fi/~mtiihone/intel2gas/" 1.13 +WGET_URL="${WEB_SITE}$TARBALL" 1.14 +DEPENDS="gcc-lib-base" 1.15 + 1.16 +# Rules to configure and make the package. 1.17 +compile_rules() 1.18 +{ 1.19 + cd $src 1.20 + sed -i 's/strchr(str/strchr((char *) str/' strhandle.cc 1.21 + sed -i 's/strstr(source/strstr((char *) source/' intel2gas.cc 1.22 + sed -i 's/prefix = @/prefix = ${DESTDIR}@/' Makefile.in 1.23 + ./configure --prefix=/usr --infodir=/usr/share/info \ 1.24 + --mandir=/usr/share/man \ 1.25 + $CONFIGURE_ARGS && 1.26 + make && 1.27 + make DESTDIR=$PWD/_pkg install 1.28 +} 1.29 + 1.30 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.31 +genpkg_rules() 1.32 +{ 1.33 + cp -a $_pkg/usr $fs 1.34 +} 1.35 +