wok-next annotate intel2gas/receipt @ rev 21529

updated buildroot (2014.08 -> 2020.05)
author Hans-G?nter Theisgen
date Sat Jun 20 16:34:10 2020 +0100 (2020-06-20)
parents a3c581bf52b8
children
rev   line source
pascal@4379 1 # SliTaz package receipt.
pascal@4379 2
pascal@4379 3 PACKAGE="intel2gas"
pascal@4379 4 VERSION="1.3.3"
pascal@4379 5 CATEGORY="development"
al@21020 6 SHORT_DESC="Convert assembler source file for NASM/MASM/TASM to GAS"
pascal@4379 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15600 8 LICENSE="GPL2"
pascal@4379 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@20906 10 WEB_SITE="https://web.archive.org/web/20141121141429/http://www.niksula.hut.fi/~mtiihone/intel2gas/"
pascal@4379 11 WGET_URL="${WEB_SITE}$TARBALL"
pascal@15600 12
pascal@4379 13 DEPENDS="gcc-lib-base"
pascal@4379 14
al@21020 15 compile_rules() {
pascal@4379 16 sed -i 's/strchr(str/strchr((char *) str/' strhandle.cc
pascal@4379 17 sed -i 's/strstr(source/strstr((char *) source/' intel2gas.cc
pascal@4379 18 sed -i 's/prefix = @/prefix = ${DESTDIR}@/' Makefile.in
al@21020 19
al@21020 20 ./configure \
al@21020 21 --prefix=/usr \
al@21020 22 --infodir=/usr/share/info \
al@21020 23 --mandir=/usr/share/man \
al@21020 24 $CONFIGURE_ARGS &&
pascal@4379 25 make &&
al@21020 26 make DESTDIR=$install install
pascal@4379 27 }
pascal@4379 28
al@21020 29 genpkg_rules() {
pascal@15600 30 cp -a $install/usr $fs
pascal@4379 31 }