wok-6.x annotate intel2gas/receipt @ rev 20921
updated flam3 and flam3-dev (3.0 -> 3.1.1)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 01 17:44:13 2019 +0100 (2019-03-01) |
parents | de49f29b101e |
children | 2048be385116 |
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@20672 | 10 WEB_SITE="https://web.archive.org/web/20141121141429/http://www.niksula.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 |