wok-6.x view intel2gas/receipt @ rev 14907
lxinput: up 0.3.2; openbox: fix pipe menu display; slitaz-i18n: add missing core packages; tiny edits.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Aug 02 15:13:41 2013 +0300 (2013-08-02) |
parents | |
children | de49f29b101e |
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.niksula.cs.hut.fi/~mtiihone/intel2gas/"
10 WGET_URL="${WEB_SITE}$TARBALL"
11 DEPENDS="gcc-lib-base"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 sed -i 's/strchr(str/strchr((char *) str/' strhandle.cc
18 sed -i 's/strstr(source/strstr((char *) source/' intel2gas.cc
19 sed -i 's/prefix = @/prefix = ${DESTDIR}@/' Makefile.in
20 ./configure --prefix=/usr --infodir=/usr/share/info \
21 --mandir=/usr/share/man \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 cp -a $_pkg/usr $fs
31 }