wok view libIDL/receipt @ rev 10354

libIDL: can't cross compile
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 22 22:49:16 2011 +0200 (2011-05-22)
parents fa02635c6d16
children 3de18d7030ab
line source
1 # SliTaz package receipt.
3 PACKAGE="libIDL"
4 VERSION="0.8.14"
5 CATEGORY="development"
6 SHORT_DESC="IDL Compiling Library."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://andrewtv.org/libIDL/"
10 WGET_URL="ftp://ftp.gnome.org/pub/GNOME/sources/libIDL/${VERSION%.*}/$TARBALL"
11 CROSS="bug: can not run test program"
13 DEPENDS="glib"
14 BUILD_DEPENDS="bison flex glib-dev pkg-config"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --cache-file=config.cache \
22 --build=$HOST_SYSTEM \
23 --host=$HOST_SYSTEM &&
24 make && make install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr
31 cp -a $_pkg/usr/lib $fs/usr
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/include $fs/usr
34 }