wok-next view libIDL/receipt @ rev 19066
It works, but needs review and improvement. Thank you.
author | Leonardo Laporte <hackdorte@sapo.pt> |
---|---|
date | Thu Apr 21 06:32:59 2016 -0300 (2016-04-21) |
parents | 4904e3d374a9 |
children |
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 LICENSE="LGPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://andrewtv.org/libIDL/"
11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
12 CROSS="bug: can not run test program"
14 DEPENDS="glib"
15 BUILD_DEPENDS="bison flex glib-dev pkg-config"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure \
22 --cache-file=config.cache \
23 --build=$HOST_SYSTEM \
24 --host=$HOST_SYSTEM &&
25 make && make install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr
32 cp -a $install/usr/lib $fs/usr
33 cp -a $install/usr/bin $fs/usr
34 cp -a $install/usr/include $fs/usr
35 }