wok-current annotate intel2gas/receipt @ rev 16835
Up cookutils (3.4.1)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Jul 12 17:10:33 2014 +0300 (2014-07-12) |
parents | 112ba02bd672 |
children | 8dd8bab3f0ca |
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@15600 | 8 LICENSE="GPL2" |
pascal@4379 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@4379 | 10 WEB_SITE="http://www.niksula.cs.hut.fi/~mtiihone/intel2gas/" |
pascal@4379 | 11 WGET_URL="${WEB_SITE}$TARBALL" |
pascal@15600 | 12 |
pascal@4379 | 13 DEPENDS="gcc-lib-base" |
pascal@4379 | 14 |
pascal@4379 | 15 # Rules to configure and make the package. |
pascal@4379 | 16 compile_rules() |
pascal@4379 | 17 { |
pascal@4379 | 18 cd $src |
pascal@4379 | 19 sed -i 's/strchr(str/strchr((char *) str/' strhandle.cc |
pascal@4379 | 20 sed -i 's/strstr(source/strstr((char *) source/' intel2gas.cc |
pascal@4379 | 21 sed -i 's/prefix = @/prefix = ${DESTDIR}@/' Makefile.in |
pascal@4379 | 22 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@4379 | 23 --mandir=/usr/share/man \ |
pascal@4379 | 24 $CONFIGURE_ARGS && |
pascal@4379 | 25 make && |
pascal@15600 | 26 make DESTDIR=$DESTDIR install |
pascal@4379 | 27 } |
pascal@4379 | 28 |
pascal@4379 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4379 | 30 genpkg_rules() |
pascal@4379 | 31 { |
pascal@15600 | 32 cp -a $install/usr $fs |
pascal@4379 | 33 } |
pascal@4379 | 34 |