wok-next annotate opal/receipt @ rev 17632
lensfun: buggy make version check workaround
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 14 13:45:08 2015 +0100 (2015-02-14) |
parents | 8e4c74abdf74 |
children | 4531cfd68634 |
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" |
pascal@15601 | 8 LICENSE="MPL" |
pankso@3167 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@302 | 10 WEB_SITE="http://www.ekiga.org/" |
pascal@5465 | 11 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL" |
pascal@15601 | 12 TAGS="telephony" |
pascal@15601 | 13 |
pankso@3425 | 14 DEPENDS="cyrus-sasl expat jpeg libsdl libogg libtheora libunixODBC \ |
pascal@2459 | 15 openssl ptlib tiff zlib" |
devl547@5515 | 16 BUILD_DEPENDS="ptlib ptlib-dev openssl-dev" |
pascal@302 | 17 |
pascal@302 | 18 # Rules to configure and make the package. |
pascal@302 | 19 compile_rules() |
pascal@302 | 20 { |
pascal@302 | 21 cd $src |
pascal@302 | 22 ./configure --prefix=/usr --bindir=/bin \ |
pascal@302 | 23 --libexecdir=/usr/bin --mandir=/usr/share/man \ |
pascal@1532 | 24 $CONFIGURE_ARGS && |
gokhlayeh@11574 | 25 make $MAKEFLAGS && |
pascal@15601 | 26 make DESTDIR=$DESTDIR install |
pascal@302 | 27 } |
pascal@302 | 28 |
pascal@302 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@302 | 30 genpkg_rules() |
pascal@302 | 31 { |
pascal@302 | 32 mkdir -p $fs/usr |
pascal@15601 | 33 cp -a $install/usr/lib $fs/usr |
pascal@1532 | 34 rm -f $fs/usr/lib/*.a |
pascal@302 | 35 } |