wok-next annotate ptlib/receipt @ rev 11671
up: slitaz-tools (4.5)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sat Feb 18 02:10:42 2012 +0100 (2012-02-18) |
parents | 071c9a026a01 |
children | bf4a09ef1d2e |
rev | line source |
---|---|
pascal@1419 | 1 # SliTaz package receipt. |
pascal@1419 | 2 |
pascal@1419 | 3 PACKAGE="ptlib" |
pascal@5460 | 4 VERSION="2.6.5" |
pascal@1419 | 5 CATEGORY="network" |
pascal@1419 | 6 SHORT_DESC="Portable Tools Library for unix and windows." |
pascal@1419 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pankso@3166 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@1419 | 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="alsa-lib cyrus-sasl expat libsdl libdv libraw1394 \ |
pascal@2456 | 12 libunixODBC openssl" |
pascal@11151 | 13 BUILD_DEPENDS="pkg-config flex openssl-dev cyrus-sasl-dev zlib-dev alsa-lib-dev" |
pascal@1419 | 14 |
pascal@1419 | 15 # Rules to configure and make the package. |
pascal@1419 | 16 compile_rules() |
pascal@1419 | 17 { |
pascal@1419 | 18 cd $src |
pascal@1419 | 19 ./configure --prefix=/usr --bindir=/bin \ |
pascal@1419 | 20 --libexecdir=/usr/bin --mandir=/usr/share/man \ |
pascal@1533 | 21 $CONFIGURE_ARGS && |
pascal@1533 | 22 make && |
pascal@1419 | 23 make DESTDIR=$PWD/_pkg install |
pascal@1419 | 24 } |
pascal@1419 | 25 |
pascal@1419 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1419 | 27 genpkg_rules() |
pascal@1419 | 28 { |
pascal@1419 | 29 mkdir -p $fs/usr |
pascal@1419 | 30 cp -a $_pkg/usr/lib $fs/usr |
pascal@1419 | 31 cp -a $_pkg/usr/bin $fs/usr |
pascal@1419 | 32 cp -a $_pkg/usr/share $fs/usr |
pascal@1419 | 33 } |