wok-next view intel2gas/receipt @ rev 21084
Add librefox
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Dec 25 14:44:32 2018 +0200 (2018-12-25) |
parents | a3c581bf52b8 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="intel2gas"
4 VERSION="1.3.3"
5 CATEGORY="development"
6 SHORT_DESC="Convert assembler source file for NASM/MASM/TASM to GAS"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://web.archive.org/web/20141121141429/http://www.niksula.hut.fi/~mtiihone/intel2gas/"
11 WGET_URL="${WEB_SITE}$TARBALL"
13 DEPENDS="gcc-lib-base"
15 compile_rules() {
16 sed -i 's/strchr(str/strchr((char *) str/' strhandle.cc
17 sed -i 's/strstr(source/strstr((char *) source/' intel2gas.cc
18 sed -i 's/prefix = @/prefix = ${DESTDIR}@/' Makefile.in
20 ./configure \
21 --prefix=/usr \
22 --infodir=/usr/share/info \
23 --mandir=/usr/share/man \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$install install
27 }
29 genpkg_rules() {
30 cp -a $install/usr $fs
31 }