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

pyneighborhood: fix depends and desktop.file
author Paul Issott <paul@slitaz.org>
date Sun Oct 11 13:25:38 2009 +0000 (2009-10-11)
parents b0e619b5e1c5
children 8752c40cc534
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"
pankso@82 9 WEB_SITE="http://libcddb.sourceforge.net/"
pankso@82 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pankso@82 11
pankso@82 12 # Rules to configure and make the package.
pankso@82 13 compile_rules()
pankso@82 14 {
pankso@82 15 cd $src
pankso@82 16 ./configure \
pankso@82 17 --prefix=/usr \
pankso@82 18 --infodir=/usr/share/info \
pankso@82 19 --mandir=/usr/share/man \
pankso@82 20 $CONFIGURE_ARGS
pankso@82 21 make
pankso@82 22 make DESTDIR=$PWD/_pkg install
pankso@82 23 }
pankso@82 24
pankso@82 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@82 26 genpkg_rules()
pankso@82 27 {
pankso@82 28 mkdir -p $fs/usr/lib
pankso@82 29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@82 30 cp -a $_pkg/usr/bin $fs/usr
pankso@82 31 strip -s $fs/usr/lib/* 2>/dev/null
pankso@82 32 strip -s $fs/usr/bin/* 2>/dev/null
pankso@82 33 }