wok-current view opal/receipt @ rev 11544

swat: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 25 14:23:11 2011 +0100 (2011-12-25)
parents 23315f4d08a6
children 8e4c74abdf74
line source
1 # SliTaz package receipt.
3 PACKAGE="opal"
4 VERSION="3.6.6"
5 CATEGORY="network"
6 SHORT_DESC="Open Phone Abstraction library."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://www.ekiga.org/"
10 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
11 DEPENDS="cyrus-sasl expat jpeg libsdl libogg libtheora libunixODBC \
12 openssl ptlib tiff zlib"
13 BUILD_DEPENDS="ptlib ptlib-dev openssl-dev"
14 TAGS="telephony"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure --prefix=/usr --bindir=/bin \
21 --libexecdir=/usr/bin --mandir=/usr/share/man \
22 $CONFIGURE_ARGS &&
23 make -j 4 &&
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr
31 cp -a $_pkg/usr/lib $fs/usr
32 rm -f $fs/usr/lib/*.a
33 }