wok-6.x annotate libvorbis/receipt @ rev 9083
fcitx-zm: no work into stuff
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 04 17:24:29 2011 +0100 (2011-03-04) |
parents | d375fc2245f5 |
children | 0f8dcbf8807b |
rev | line source |
---|---|
pankso@32 | 1 # SliTaz package receipt. |
pankso@32 | 2 |
pankso@32 | 3 PACKAGE="libvorbis" |
slaxemulator@7068 | 4 VERSION="1.3.2" |
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 |