wok-next annotate speex/receipt @ rev 15158

gmerlin: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 15 17:45:49 2013 +0000 (2013-08-15)
parents e446ced86bd1
children 3b4e4318134e
rev   line source
pascal@1179 1 # SliTaz package receipt.
pascal@1179 2
pascal@1179 3 PACKAGE="speex"
pascal@5760 4 VERSION="1.2rc1"
pascal@1179 5 CATEGORY="multimedia"
pascal@1179 6 SHORT_DESC="Low bandwith voice codec."
pascal@1179 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@1179 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@1179 9 WEB_SITE="http://www.speex.org/"
pascal@1179 10 WGET_URL="http://downloads.us.xiph.org/releases/$PACKAGE/$TARBALL"
pascal@1179 11
pankso@10366 12 DEPENDS="libogg"
pankso@10366 13 BUILD_DEPENDS="libogg-dev"
pankso@10366 14
pascal@1179 15 # Rules to configure and make the package.
pascal@1179 16 compile_rules()
pascal@1179 17 {
pascal@1179 18 cd $src
pankso@10366 19 ./configure $CONFIGURE_ARGS &&
pankso@10366 20 make && make -j1 install
pascal@1179 21 }
pascal@1179 22
pascal@1179 23 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1179 24 genpkg_rules()
pascal@1179 25 {
pascal@1179 26 mkdir -p $fs/usr/lib
pascal@1179 27 cp -a $_pkg/usr/bin $fs/usr
pascal@1179 28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pascal@1179 29 }