wok-next view libdisasm/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents 0ec6086e21d6
children
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="$PACKAGE-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=$install install
29 }
31 genpkg_rules() {
32 case $PACKAGE in
33 libdisasm) copy @std;;
34 *-dev) copy @dev;;
35 esac
36 }