wok annotate intel2gas/receipt @ rev 5598

Up compcache (partial support in kerenl 2.6.33 ; fully in kernel starting 2.6.34)
author Rohit Joshi <jozee@slitaz.org>
date Tue May 18 08:00:24 2010 -0400 (2010-05-18)
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