wok annotate libcddb/receipt @ rev 82
Add : libcddb with devel pkg
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Jan 02 12:12:45 2008 +0100 (2008-01-02) |
parents | |
children | e0f2bee5b24d |
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@82 | 5 CATEGORY="extra" |
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 } |