wok-6.x annotate libcddb/receipt @ rev 8923
gnomad2 needs intltool to compile
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Tue Mar 01 02:41:39 2011 +0100 (2011-03-01) |
parents | 104fa9a014c1 |
children | 02bbaa9d12ba |
rev | line source |
---|---|
pankso@82 | 1 # SliTaz package receipt. |
pankso@82 | 2 |
pankso@82 | 3 PACKAGE="libcddb" |
slaxemulator@6154 | 4 VERSION="1.3.2" |
pankso@206 | 5 CATEGORY="multimedia" |
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" |
gokhlayeh@5964 | 9 DEPENDS="" |
pankso@82 | 10 WEB_SITE="http://libcddb.sourceforge.net/" |
pankso@82 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pankso@82 | 12 |
pankso@82 | 13 # Rules to configure and make the package. |
pankso@82 | 14 compile_rules() |
pankso@82 | 15 { |
pankso@82 | 16 cd $src |
pankso@82 | 17 ./configure \ |
pankso@82 | 18 --prefix=/usr \ |
pankso@82 | 19 --infodir=/usr/share/info \ |
pankso@82 | 20 --mandir=/usr/share/man \ |
pascal@5003 | 21 $CONFIGURE_ARGS && |
pascal@5003 | 22 make && |
pankso@82 | 23 make DESTDIR=$PWD/_pkg install |
pankso@82 | 24 } |
pankso@82 | 25 |
pankso@82 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@82 | 27 genpkg_rules() |
pankso@82 | 28 { |
pankso@82 | 29 mkdir -p $fs/usr/lib |
pankso@82 | 30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@82 | 31 cp -a $_pkg/usr/bin $fs/usr |
pankso@82 | 32 strip -s $fs/usr/lib/* 2>/dev/null |
pankso@82 | 33 strip -s $fs/usr/bin/* 2>/dev/null |
pankso@82 | 34 } |