wok-next annotate opal/receipt @ rev 2658

Add libmodplug
author Rohit Joshi <jozee@slitaz.org>
date Sat Apr 18 17:49:27 2009 +0000 (2009-04-18)
parents e89ce4b14066
children d82215fa8ce2
rev   line source
pascal@302 1 # SliTaz package receipt.
pascal@302 2
pascal@302 3 PACKAGE="opal"
pascal@1532 4 VERSION="3.4.1"
pascal@302 5 CATEGORY="network"
pascal@302 6 SHORT_DESC="Open Phone Abstraction library."
pascal@302 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@302 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@302 9 WEB_SITE="http://www.ekiga.org/"
pascal@302 10 WGET_URL="$WEB_SITE/admin/downloads/latest/sources/sources/$TARBALL"
pascal@2459 11 DEPENDS="cyrus-sasl expat jpeg libSDL libiconv libogg libtheora libunixODBC \
pascal@2459 12 openssl ptlib tiff zlib"
pascal@1532 13 BUILD_DEPENDS="ptlib ptlib-dev"
pascal@302 14
pascal@302 15 # Rules to configure and make the package.
pascal@302 16 compile_rules()
pascal@302 17 {
pascal@302 18 cd $src
pascal@302 19 ./configure --prefix=/usr --bindir=/bin \
pascal@302 20 --libexecdir=/usr/bin --mandir=/usr/share/man \
pascal@1532 21 $CONFIGURE_ARGS &&
pascal@1532 22 make &&
pascal@302 23 make DESTDIR=$PWD/_pkg install
pascal@302 24 }
pascal@302 25
pascal@302 26
pascal@302 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@302 28 genpkg_rules()
pascal@302 29 {
pascal@302 30 mkdir -p $fs/usr
pascal@302 31 cp -a $_pkg/usr/lib $fs/usr
pascal@1532 32 rm -f $fs/usr/lib/*.a
pascal@302 33 }
pascal@302 34