wok-6.x annotate libcddb/receipt @ rev 11392

Compat: ensure that sqlite genpkg_rules() doesn't return a false failure
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sat Dec 10 05:11:58 2011 +0100 (2011-12-10)
parents 02bbaa9d12ba
children b896c623f49e
rev   line source
pankso@82 1 # SliTaz package receipt.
pankso@82 2
pankso@82 3 PACKAGE="libcddb"
slaxemulator@6154 4 VERSION="1.3.2"
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"
gokhlayeh@5964 9 DEPENDS=""
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 }