wok annotate libIDL/receipt @ rev 2478
libfox*, libetpan, libcurl, libbind, lib?DL: update depends
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 15 20:31:26 2009 +0000 (2009-03-15) |
parents | 52dc4b48ed81 |
children | b3f3b270b95f |
rev | line source |
---|---|
pankso@30 | 1 # SliTaz package receipt. |
pankso@30 | 2 |
pankso@30 | 3 PACKAGE="libIDL" |
pankso@30 | 4 VERSION="0.8.9" |
pankso@211 | 5 CATEGORY="development" |
pankso@30 | 6 SHORT_DESC="IDL Compiling Library." |
pankso@30 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@30 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@2478 | 9 DEPENDS="glib" |
pascal@1514 | 10 BUILD_DEPENDS="flex glib glib-dev" |
pankso@30 | 11 WEB_SITE="http://andrewtv.org/libIDL/" |
pankso@30 | 12 WGET_URL="ftp://ftp.gnome.org/pub/GNOME/sources/libIDL/0.8/$TARBALL" |
pankso@30 | 13 |
pankso@30 | 14 # Rules to configure and make the package. |
pankso@30 | 15 compile_rules() |
pankso@30 | 16 { |
pankso@30 | 17 cd $src |
pankso@30 | 18 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@1447 | 19 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@1447 | 20 make && |
pankso@30 | 21 make DESTDIR=$PWD/_pkg install |
pankso@30 | 22 } |
pankso@30 | 23 |
pankso@30 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@30 | 25 genpkg_rules() |
pankso@30 | 26 { |
pankso@30 | 27 mkdir -p $fs/usr |
pankso@30 | 28 cp -a $_pkg/usr/lib $fs/usr |
pankso@30 | 29 cp -a $_pkg/usr/bin $fs/usr |
pankso@30 | 30 cp -a $_pkg/usr/include $fs/usr |
pankso@30 | 31 strip --strip-unneeded $fs/usr/lib/*.so* |
pankso@30 | 32 } |