wok-stable annotate opal/receipt @ rev 1773
hardinfo: fix usb
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 28 17:23:48 2008 +0000 (2008-11-28) |
parents | 56f1f344bc39 |
children | 4482e0fab13a |
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@1532 | 11 BUILD_DEPENDS="ptlib ptlib-dev" |
pascal@302 | 12 |
pascal@302 | 13 # Rules to configure and make the package. |
pascal@302 | 14 compile_rules() |
pascal@302 | 15 { |
pascal@302 | 16 cd $src |
pascal@302 | 17 ./configure --prefix=/usr --bindir=/bin \ |
pascal@302 | 18 --libexecdir=/usr/bin --mandir=/usr/share/man \ |
pascal@1532 | 19 $CONFIGURE_ARGS && |
pascal@1532 | 20 make && |
pascal@302 | 21 make DESTDIR=$PWD/_pkg install |
pascal@302 | 22 } |
pascal@302 | 23 |
pascal@302 | 24 |
pascal@302 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@302 | 26 genpkg_rules() |
pascal@302 | 27 { |
pascal@302 | 28 mkdir -p $fs/usr |
pascal@302 | 29 cp -a $_pkg/usr/lib $fs/usr |
pascal@1532 | 30 rm -f $fs/usr/lib/*.a |
pascal@302 | 31 } |
pascal@302 | 32 |