wok-next annotate libdisasm/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents 0ec6086e21d6
children
rev   line source
al@19910 1 # SliTaz package receipt v2.
pascal@16246 2
pascal@16246 3 PACKAGE="libdisasm"
pascal@16246 4 VERSION="0.23"
pascal@16246 5 CATEGORY="development"
al@19910 6 SHORT_DESC="x86 Disassembler Library"
pascal@16246 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@16246 8 LICENSE="Artistic"
al@19910 9 WEB_SITE="http://bastard.sourceforge.net/libdisasm.html"
al@19910 10
pascal@16246 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@16246 12 WGET_URL="$SF_MIRROR/bastard/$TARBALL"
pascal@16246 13
al@19910 14 BUILD_DEPENDS="gfortran"
al@21020 15 SPLIT="$PACKAGE-dev"
pascal@16246 16
al@20481 17 compile_rules() {
al@20481 18 case $ARCH in
al@20481 19 i?86) ARCH_ARGS='CFLAGS=-m32 CXXFLAGS=-m32 LDFLAGS=-m32';;
al@20481 20 *) ARCH_ARGS='';;
al@20481 21 esac
al@20481 22
al@19910 23 ./configure \
al@20481 24 $ARCH_ARGS \
pascal@16246 25 $CONFIGURE_ARGS &&
al@20575 26 fix libtool &&
pascal@16246 27 make &&
al@21020 28 make DESTDIR=$install install
pascal@16246 29 }
pascal@16246 30
al@20481 31 genpkg_rules() {
al@19910 32 case $PACKAGE in
al@19910 33 libdisasm) copy @std;;
al@19910 34 *-dev) copy @dev;;
al@19910 35 esac
pascal@16246 36 }