wok-next view intel2gas/receipt @ rev 16747
Up: bluefish (2.2.5)
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Sat Jun 14 19:43:22 2014 +0000 (2014-06-14) |
parents | 112ba02bd672 |
children | a3c581bf52b8 |
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="http://www.niksula.cs.hut.fi/~mtiihone/intel2gas/"
11 WGET_URL="${WEB_SITE}$TARBALL"
13 DEPENDS="gcc-lib-base"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 sed -i 's/strchr(str/strchr((char *) str/' strhandle.cc
20 sed -i 's/strstr(source/strstr((char *) source/' intel2gas.cc
21 sed -i 's/prefix = @/prefix = ${DESTDIR}@/' Makefile.in
22 ./configure --prefix=/usr --infodir=/usr/share/info \
23 --mandir=/usr/share/man \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 cp -a $install/usr $fs
33 }