wok-next view intel2gas/receipt @ rev 11490
esound: Fix build
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sun Dec 18 13:03:38 2011 +0100 (2011-12-18) |
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 }