wok-current view libcddb/receipt @ rev 9117
scim-tables-additional: remove spurrious part of genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 05 13:01:38 2011 +0100 (2011-03-05) |
parents | 104fa9a014c1 |
children | 02bbaa9d12ba |
line source
1 # SliTaz package receipt.
3 PACKAGE="libcddb"
4 VERSION="1.3.2"
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=""
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 }