wok-next annotate libvorbis/receipt @ rev 5658
Up: libvorbis (1.3.1)
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Sun May 30 02:46:10 2010 +0000 (2010-05-30) |
parents | f65c32b5d6ac |
children | e5a2be0878d6 |
rev | line source |
---|---|
pankso@32 | 1 # SliTaz package receipt. |
pankso@32 | 2 |
pankso@32 | 3 PACKAGE="libvorbis" |
devl547@5658 | 4 VERSION="1.3.1" |
pankso@206 | 5 CATEGORY="multimedia" |
pankso@32 | 6 SHORT_DESC="Vorbis base library." |
pankso@32 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@1451 | 8 DEPENDS="libogg" |
pascal@1451 | 9 BUILD_DEPENDS="libogg-dev" |
pankso@32 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@32 | 11 WEB_SITE="http://www.xiph.org/" |
pankso@32 | 12 WGET_URL="http://downloads.xiph.org/releases/vorbis/$TARBALL" |
pankso@32 | 13 |
pankso@32 | 14 # Rules to configure and make the package. |
pankso@32 | 15 compile_rules() |
pankso@32 | 16 { |
pankso@32 | 17 cd $src |
pankso@32 | 18 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@1451 | 19 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@1451 | 20 make && |
pankso@32 | 21 make DESTDIR=$PWD/_pkg install |
pankso@32 | 22 } |
pankso@32 | 23 |
pankso@32 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@32 | 25 genpkg_rules() |
pankso@32 | 26 { |
pankso@32 | 27 mkdir -p $fs/usr/lib |
pankso@4314 | 28 |
pankso@32 | 29 # The libvorbisenc files should go in libvorbis-enc |
pankso@32 | 30 #cp -a $_pkg/usr/lib/libvorbis.so* $fs/usr/lib |
pankso@32 | 31 #cp -a $_pkg/usr/lib/libvorbisfile.so* $fs/usr/lib |
pankso@4314 | 32 |
pankso@32 | 33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@32 | 34 strip --strip-unneeded $fs/usr/lib/* |
pankso@32 | 35 } |
pankso@32 | 36 |