wok-next diff intel2gas/receipt @ rev 21231
updated clamtk (4.36 -> 5.27)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Dec 03 17:21:10 2019 +0100 (2019-12-03) |
parents | a3c581bf52b8 |
children |
line diff
1.1 --- a/intel2gas/receipt Fri Aug 10 12:53:17 2018 +0300 1.2 +++ b/intel2gas/receipt Tue Dec 03 17:21:10 2019 +0100 1.3 @@ -3,7 +3,7 @@ 1.4 PACKAGE="intel2gas" 1.5 VERSION="1.3.3" 1.6 CATEGORY="development" 1.7 -SHORT_DESC="Convert assembler source file for NASM/MASM/TASM to GAS." 1.8 +SHORT_DESC="Convert assembler source file for NASM/MASM/TASM to GAS" 1.9 MAINTAINER="pascal.bellard@slitaz.org" 1.10 LICENSE="GPL2" 1.11 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.12 @@ -12,23 +12,20 @@ 1.13 1.14 DEPENDS="gcc-lib-base" 1.15 1.16 -# Rules to configure and make the package. 1.17 -compile_rules() 1.18 -{ 1.19 - cd $src 1.20 +compile_rules() { 1.21 sed -i 's/strchr(str/strchr((char *) str/' strhandle.cc 1.22 sed -i 's/strstr(source/strstr((char *) source/' intel2gas.cc 1.23 sed -i 's/prefix = @/prefix = ${DESTDIR}@/' Makefile.in 1.24 - ./configure --prefix=/usr --infodir=/usr/share/info \ 1.25 - --mandir=/usr/share/man \ 1.26 - $CONFIGURE_ARGS && 1.27 + 1.28 + ./configure \ 1.29 + --prefix=/usr \ 1.30 + --infodir=/usr/share/info \ 1.31 + --mandir=/usr/share/man \ 1.32 + $CONFIGURE_ARGS && 1.33 make && 1.34 - make DESTDIR=$DESTDIR install 1.35 + make DESTDIR=$install install 1.36 } 1.37 1.38 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.39 -genpkg_rules() 1.40 -{ 1.41 +genpkg_rules() { 1.42 cp -a $install/usr $fs 1.43 } 1.44 -