wok view libIDL/receipt @ rev 21709

ccid: update genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jun 08 10:39:23 2019 +0200 (2019-06-08)
parents eeba7ab1dffe
children 6831608a1b2a
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://freshmeat.sourceforge.net/projects/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 }