wok view libcddb/receipt @ rev 9047

boxbackup-server: do not compute $_pkg
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 04 09:06:40 2011 +0100 (2011-03-04)
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 }