wok-current annotate libogg/receipt @ rev 5277
lzma: add --version support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 16 10:18:15 2010 +0200 (2010-04-16) |
parents | e0f2bee5b24d |
children | dff8499828ae |
rev | line source |
---|---|
pankso@32 | 1 # SliTaz package receipt. |
pankso@32 | 2 |
pankso@32 | 3 PACKAGE="libogg" |
pankso@4314 | 4 VERSION="1.1.4" |
pankso@206 | 5 CATEGORY="multimedia" |
pankso@32 | 6 SHORT_DESC="OGG library from Xiph.org project." |
pankso@32 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@32 | 8 DEPENDS="" |
pankso@32 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@32 | 10 WEB_SITE="http://www.xiph.org/" |
pankso@32 | 11 WGET_URL="http://downloads.xiph.org/releases/ogg/$TARBALL" |
pankso@32 | 12 |
pankso@32 | 13 # Rules to configure and make the package. |
pankso@32 | 14 compile_rules() |
pankso@32 | 15 { |
pankso@32 | 16 cd $src |
pankso@32 | 17 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pankso@32 | 18 --mandir=/usr/share/man $CONFIGURE_ARGS |
pankso@32 | 19 make |
pankso@32 | 20 make DESTDIR=$PWD/_pkg install |
pankso@32 | 21 } |
pankso@32 | 22 |
pankso@32 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@32 | 24 genpkg_rules() |
pankso@32 | 25 { |
pankso@32 | 26 mkdir -p $fs/usr/lib |
pankso@32 | 27 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@32 | 28 strip --strip-unneeded $fs/usr/lib/* |
pankso@32 | 29 } |
pankso@32 | 30 |