wok annotate libIDL/receipt @ rev 13396
Up blogotext (2.0.0.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Sep 26 17:39:25 2012 +0200 (2012-09-26) |
parents | 4976495d1f1f |
children | 4904e3d374a9 |
rev | line source |
---|---|
pankso@30 | 1 # SliTaz package receipt. |
pankso@30 | 2 |
pankso@30 | 3 PACKAGE="libIDL" |
slaxemulator@6737 | 4 VERSION="0.8.14" |
pankso@211 | 5 CATEGORY="development" |
pankso@30 | 6 SHORT_DESC="IDL Compiling Library." |
pankso@30 | 7 MAINTAINER="pankso@slitaz.org" |
slaxemulator@6737 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@10354 | 9 WEB_SITE="http://andrewtv.org/libIDL/" |
slaxemulator@10355 | 10 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" |
pankso@10354 | 11 CROSS="bug: can not run test program" |
pankso@10354 | 12 |
pascal@2478 | 13 DEPENDS="glib" |
slaxemulator@6737 | 14 BUILD_DEPENDS="bison flex glib-dev pkg-config" |
pankso@30 | 15 |
pankso@30 | 16 # Rules to configure and make the package. |
pankso@30 | 17 compile_rules() |
pankso@30 | 18 { |
pankso@30 | 19 cd $src |
pankso@10354 | 20 ./configure \ |
pankso@10354 | 21 --cache-file=config.cache \ |
pankso@10354 | 22 --build=$HOST_SYSTEM \ |
pankso@10354 | 23 --host=$HOST_SYSTEM && |
pankso@10354 | 24 make && make install |
pankso@30 | 25 } |
pankso@30 | 26 |
pankso@30 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@30 | 28 genpkg_rules() |
pankso@30 | 29 { |
pankso@30 | 30 mkdir -p $fs/usr |
pankso@30 | 31 cp -a $_pkg/usr/lib $fs/usr |
pankso@30 | 32 cp -a $_pkg/usr/bin $fs/usr |
pankso@30 | 33 cp -a $_pkg/usr/include $fs/usr |
pankso@30 | 34 } |