wok-6.x view libdisasm/receipt @ rev 18145

Add defragfs
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jun 18 16:31:01 2015 +0200 (2015-06-18)
parents
children 65d7d867e0c1
line source
1 # SliTaz package receipt.
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://bastard.sourceforge.net/libdisasm.html"
11 WGET_URL="$SF_MIRROR/bastard/$TARBALL"
13 DEPENDS=""
14 BUILD_DEPENDS=""
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 ./configure "CFLAGS=-m32" "CXXFLAGS=-m32" "LDFLAGS=-m32" \
20 --prefix=/usr \
21 --mandir=/usr/share/man \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $install/usr/bin $fs/usr
32 cp -a $install/usr/lib/*.so* $fs/usr/lib
33 }