wok annotate osip/receipt @ rev 11575
Up: novnc 201111004 (from godane's wok)
# Rules to gen a SliTaz package suitable for Tazpkg.
# Rules to gen a SliTaz package suitable for Tazpkg.
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Mon Jan 02 23:06:19 2012 +0100 (2012-01-02) |
parents | |
children | 9d44cfaceb21 |
rev | line source |
---|---|
pascal@5761 | 1 # SliTaz package receipt. |
pascal@5761 | 2 |
pascal@5761 | 3 PACKAGE="osip" |
pascal@5761 | 4 VERSION="3.3.0" |
pascal@5761 | 5 CATEGORY="network" |
pascal@5761 | 6 SHORT_DESC="SIP library." |
pascal@5761 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@5761 | 8 SOURCE="libosip2" |
pascal@5761 | 9 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@5761 | 10 WEB_SITE="http://www.gnu.org/software/osip/osip.html" |
pascal@5761 | 11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
pascal@5761 | 12 |
pascal@5761 | 13 # Rules to configure and make the package. |
pascal@5761 | 14 compile_rules() |
pascal@5761 | 15 { |
pascal@5761 | 16 cd $src |
pascal@5761 | 17 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@5761 | 18 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@5761 | 19 make && |
pascal@5761 | 20 make DESTDIR=$PWD/_pkg install |
pascal@5761 | 21 } |
pascal@5761 | 22 |
pascal@5761 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@5761 | 24 genpkg_rules() |
pascal@5761 | 25 { |
pascal@5761 | 26 mkdir -p $fs/usr/lib |
pascal@5761 | 27 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pascal@5761 | 28 } |