wok-next view libdisasm/receipt @ rev 20575

More fix libtool; combine libdbusmenu-gtk*
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Apr 14 01:31:03 2018 +0300 (2018-04-14)
parents b278b2018965
children d5aab818505e
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libdisasm"
4 VERSION="0.23"
5 CATEGORY="development"
6 SHORT_DESC="x86 Disassembler Library"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="Artistic"
9 WEB_SITE="http://bastard.sourceforge.net/libdisasm.html"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/bastard/$TARBALL"
14 BUILD_DEPENDS="gfortran"
15 SPLIT="libdisasm-dev"
17 compile_rules() {
18 case $ARCH in
19 i?86) ARCH_ARGS='CFLAGS=-m32 CXXFLAGS=-m32 LDFLAGS=-m32';;
20 *) ARCH_ARGS='';;
21 esac
23 ./configure \
24 $ARCH_ARGS \
25 $CONFIGURE_ARGS &&
26 fix libtool &&
27 make &&
28 make DESTDIR=$DESTDIR install
29 }
31 genpkg_rules() {
32 case $PACKAGE in
33 libdisasm) copy @std;;
34 *-dev) copy @dev;;
35 esac
36 }