wok annotate libcddb/receipt @ rev 5799

Speedup some builds
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 11 13:55:46 2010 +0200 (2010-07-11)
parents e0f2bee5b24d
children 104fa9a014c1
rev   line source
pankso@82 1 # SliTaz package receipt.
pankso@82 2
pankso@82 3 PACKAGE="libcddb"
pankso@82 4 VERSION="1.3.0"
pankso@206 5 CATEGORY="multimedia"
pankso@82 6 SHORT_DESC="C library to access data on a CDDB server (freedb.org)."
pankso@82 7 MAINTAINER="pankso@slitaz.org"
pankso@82 8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@5003 9 DEPENDS="libcdio"
pankso@82 10 WEB_SITE="http://libcddb.sourceforge.net/"
pankso@82 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pankso@82 12
pankso@82 13 # Rules to configure and make the package.
pankso@82 14 compile_rules()
pankso@82 15 {
pankso@82 16 cd $src
pankso@82 17 ./configure \
pankso@82 18 --prefix=/usr \
pankso@82 19 --infodir=/usr/share/info \
pankso@82 20 --mandir=/usr/share/man \
pascal@5003 21 $CONFIGURE_ARGS &&
pascal@5003 22 make &&
pankso@82 23 make DESTDIR=$PWD/_pkg install
pankso@82 24 }
pankso@82 25
pankso@82 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@82 27 genpkg_rules()
pankso@82 28 {
pankso@82 29 mkdir -p $fs/usr/lib
pankso@82 30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@82 31 cp -a $_pkg/usr/bin $fs/usr
pankso@82 32 strip -s $fs/usr/lib/* 2>/dev/null
pankso@82 33 strip -s $fs/usr/bin/* 2>/dev/null
pankso@82 34 }