wok-4.x annotate opal/receipt @ rev 3060

Linux: don't forget firmwares...
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 13 17:34:54 2009 +0200 (2009-05-13)
parents e89ce4b14066
children d82215fa8ce2
rev   line source
pascal@302 1 # SliTaz package receipt.
pascal@302 2
pascal@302 3 PACKAGE="opal"
pascal@1532 4 VERSION="3.4.1"
pascal@302 5 CATEGORY="network"
pascal@302 6 SHORT_DESC="Open Phone Abstraction library."
pascal@302 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@302 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@302 9 WEB_SITE="http://www.ekiga.org/"
pascal@302 10 WGET_URL="$WEB_SITE/admin/downloads/latest/sources/sources/$TARBALL"
pascal@2459 11 DEPENDS="cyrus-sasl expat jpeg libSDL libiconv libogg libtheora libunixODBC \
pascal@2459 12 openssl ptlib tiff zlib"
pascal@1532 13 BUILD_DEPENDS="ptlib ptlib-dev"
pascal@302 14
pascal@302 15 # Rules to configure and make the package.
pascal@302 16 compile_rules()
pascal@302 17 {
pascal@302 18 cd $src
pascal@302 19 ./configure --prefix=/usr --bindir=/bin \
pascal@302 20 --libexecdir=/usr/bin --mandir=/usr/share/man \
pascal@1532 21 $CONFIGURE_ARGS &&
pascal@1532 22 make &&
pascal@302 23 make DESTDIR=$PWD/_pkg install
pascal@302 24 }
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 }
pascal@302 34