wok view libcddb/receipt @ rev 5924
busybox: fix pre_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 28 14:15:27 2010 +0200 (2010-07-28) |
parents | e0f2bee5b24d |
children | 104fa9a014c1 |
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 DEPENDS="libcdio"
10 WEB_SITE="http://libcddb.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure \
18 --prefix=/usr \
19 --infodir=/usr/share/info \
20 --mandir=/usr/share/man \
21 $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
31 cp -a $_pkg/usr/bin $fs/usr
32 strip -s $fs/usr/lib/* 2>/dev/null
33 strip -s $fs/usr/bin/* 2>/dev/null
34 }