wok annotate opal/receipt @ rev 10026
gmp, mpc-library, mpfr: fix build system wirh --build and --host from CONFIGURE_ARGS
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu May 19 21:14:41 2011 +0200 (2011-05-19) |
parents | 23315f4d08a6 |
children | 8e4c74abdf74 |
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 && |
pascal@5781 | 23 make -j 4 && |
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 } |