wok annotate libogg/receipt @ rev 9205
libplayer: needs -j1
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 10 18:16:56 2011 +0100 (2011-03-10) |
parents | 1b686eb2f16f |
children | 0f8dcbf8807b |
rev | line source |
---|---|
pankso@32 | 1 # SliTaz package receipt. |
pankso@32 | 2 |
pankso@32 | 3 PACKAGE="libogg" |
slaxemulator@7695 | 4 VERSION="1.2.2" |
pankso@206 | 5 CATEGORY="multimedia" |
pankso@32 | 6 SHORT_DESC="OGG library from Xiph.org project." |
pankso@32 | 7 MAINTAINER="pankso@slitaz.org" |
slaxemulator@7695 | 8 DEPENDS="glibc-base" |
slaxemulator@7695 | 9 TARBALL="$PACKAGE-$VERSION.tar.xz" |
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 |
gokhlayeh@7973 | 20 make -j1 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 |