wok view libcddb/receipt @ rev 2645

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