wok-6.x annotate libdisasm/receipt @ rev 19375

linux: bluetooth full stack
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Aug 12 09:56:34 2016 +0200 (2016-08-12)
parents
children 65d7d867e0c1
rev   line source
pascal@16246 1 # SliTaz package receipt.
pascal@16246 2
pascal@16246 3 PACKAGE="libdisasm"
pascal@16246 4 VERSION="0.23"
pascal@16246 5 CATEGORY="development"
pascal@16246 6 SHORT_DESC="x86 Disassembler Library."
pascal@16246 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@16246 8 LICENSE="Artistic"
pascal@16246 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@16246 10 WEB_SITE="http://bastard.sourceforge.net/libdisasm.html"
pascal@16246 11 WGET_URL="$SF_MIRROR/bastard/$TARBALL"
pascal@16246 12
pascal@16246 13 DEPENDS=""
pascal@16246 14 BUILD_DEPENDS=""
pascal@16246 15
pascal@16246 16 # Rules to configure and make the package.
pascal@16246 17 compile_rules()
pascal@16246 18 {
pascal@16246 19 ./configure "CFLAGS=-m32" "CXXFLAGS=-m32" "LDFLAGS=-m32" \
pascal@16246 20 --prefix=/usr \
pascal@16246 21 --mandir=/usr/share/man \
pascal@16246 22 $CONFIGURE_ARGS &&
pascal@16246 23 make &&
pascal@16246 24 make DESTDIR=$DESTDIR install
pascal@16246 25 }
pascal@16246 26
pascal@16246 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@16246 28 genpkg_rules()
pascal@16246 29 {
pascal@16246 30 mkdir -p $fs/usr/lib
pascal@16246 31 cp -a $install/usr/bin $fs/usr
pascal@16246 32 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@16246 33 }