wok-current view opal/receipt @ rev 4481
linux: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 14 15:44:04 2009 +0100 (2009-11-14) |
parents | d82215fa8ce2 |
children | 6ec17b55b59a |
line source
1 # SliTaz package receipt.
3 PACKAGE="opal"
4 VERSION="3.6.2"
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="$WEB_SITE/admin/downloads/latest/sources/ekiga_3.2.4/$TARBALL"
11 DEPENDS="cyrus-sasl expat jpeg libsdl libogg libtheora libunixODBC \
12 openssl ptlib tiff zlib"
13 BUILD_DEPENDS="ptlib ptlib-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure --prefix=/usr --bindir=/bin \
20 --libexecdir=/usr/bin --mandir=/usr/share/man \
21 $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $_pkg/usr/lib $fs/usr
31 rm -f $fs/usr/lib/*.a
32 }