wok-6.x annotate opal/receipt @ rev 12810

readline: ARM want it :-) so we can cross compile bash
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 20 03:01:49 2012 +0200 (2012-05-20)
parents 49e501a55595
children 23c3aed67cd9
rev   line source
pascal@302 1 # SliTaz package receipt.
pascal@302 2
pascal@302 3 PACKAGE="opal"
pascal@5461 4 VERSION="3.6.6"
pascal@302 5 CATEGORY="network"
pascal@302 6 SHORT_DESC="Open Phone Abstraction library."
pascal@302 7 MAINTAINER="pascal.bellard@slitaz.org"
pankso@3167 8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@302 9 WEB_SITE="http://www.ekiga.org/"
pascal@5465 10 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
pankso@3425 11 DEPENDS="cyrus-sasl expat jpeg libsdl libogg libtheora libunixODBC \
pascal@2459 12 openssl ptlib tiff zlib"
devl547@5515 13 BUILD_DEPENDS="ptlib ptlib-dev openssl-dev"
jozee@4970 14 TAGS="telephony"
pascal@302 15
pascal@302 16 # Rules to configure and make the package.
pascal@302 17 compile_rules()
pascal@302 18 {
pascal@302 19 cd $src
pascal@302 20 ./configure --prefix=/usr --bindir=/bin \
pascal@302 21 --libexecdir=/usr/bin --mandir=/usr/share/man \
pascal@1532 22 $CONFIGURE_ARGS &&
gokhlayeh@11574 23 make $MAKEFLAGS &&
pascal@302 24 make DESTDIR=$PWD/_pkg install
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 }