wok-current annotate intel2gas/receipt @ rev 4768

Add: enna (Media center using e17 libs)
author Christophe Lincoln <pankso@slitaz.org>
date Sun Jan 10 23:13:08 2010 +0100 (2010-01-10)
parents
children de49f29b101e
rev   line source
pascal@4379 1 # SliTaz package receipt.
pascal@4379 2
pascal@4379 3 PACKAGE="intel2gas"
pascal@4379 4 VERSION="1.3.3"
pascal@4379 5 CATEGORY="development"
pascal@4379 6 SHORT_DESC="Convert assembler source file for NASM/MASM/TASM to GAS."
pascal@4379 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@4379 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@4379 9 WEB_SITE="http://www.niksula.cs.hut.fi/~mtiihone/intel2gas/"
pascal@4379 10 WGET_URL="${WEB_SITE}$TARBALL"
pascal@4379 11 DEPENDS="gcc-lib-base"
pascal@4379 12
pascal@4379 13 # Rules to configure and make the package.
pascal@4379 14 compile_rules()
pascal@4379 15 {
pascal@4379 16 cd $src
pascal@4379 17 sed -i 's/strchr(str/strchr((char *) str/' strhandle.cc
pascal@4379 18 sed -i 's/strstr(source/strstr((char *) source/' intel2gas.cc
pascal@4379 19 sed -i 's/prefix = @/prefix = ${DESTDIR}@/' Makefile.in
pascal@4379 20 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@4379 21 --mandir=/usr/share/man \
pascal@4379 22 $CONFIGURE_ARGS &&
pascal@4379 23 make &&
pascal@4379 24 make DESTDIR=$PWD/_pkg install
pascal@4379 25 }
pascal@4379 26
pascal@4379 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@4379 28 genpkg_rules()
pascal@4379 29 {
pascal@4379 30 cp -a $_pkg/usr $fs
pascal@4379 31 }
pascal@4379 32