wok-4.x diff intel2gas/receipt @ rev 5101

improve rp-pppoe (recommit)
author Rohit Joshi <jozee@slitaz.org>
date Tue Mar 16 15:06:18 2010 +0000 (2010-03-16)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/intel2gas/receipt	Tue Mar 16 15:06:18 2010 +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 +