wok-6.x annotate libIDL/receipt @ rev 19859
tazweb: up to 1.12
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Mar 18 15:33:58 2017 +0100 (2017-03-18) |
parents | 4904e3d374a9 |
children | eeba7ab1dffe |
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" |
pascal@15004 | 8 LICENSE="LGPL2" |
slaxemulator@6737 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@10354 | 10 WEB_SITE="http://andrewtv.org/libIDL/" |
slaxemulator@10355 | 11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" |
pankso@10354 | 12 CROSS="bug: can not run test program" |
pankso@10354 | 13 |
pascal@2478 | 14 DEPENDS="glib" |
slaxemulator@6737 | 15 BUILD_DEPENDS="bison flex glib-dev pkg-config" |
pankso@30 | 16 |
pankso@30 | 17 # Rules to configure and make the package. |
pankso@30 | 18 compile_rules() |
pankso@30 | 19 { |
pankso@30 | 20 cd $src |
pankso@10354 | 21 ./configure \ |
pankso@10354 | 22 --cache-file=config.cache \ |
pankso@10354 | 23 --build=$HOST_SYSTEM \ |
pankso@10354 | 24 --host=$HOST_SYSTEM && |
pankso@10354 | 25 make && make install |
pankso@30 | 26 } |
pankso@30 | 27 |
pankso@30 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@30 | 29 genpkg_rules() |
pankso@30 | 30 { |
pankso@30 | 31 mkdir -p $fs/usr |
pascal@14714 | 32 cp -a $install/usr/lib $fs/usr |
pascal@14714 | 33 cp -a $install/usr/bin $fs/usr |
pascal@14714 | 34 cp -a $install/usr/include $fs/usr |
pankso@30 | 35 } |