wok-6.x view libIDL/receipt @ rev 1749

php-*: add pre_remove()
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Nov 23 12:08:41 2008 +0000 (2008-11-23)
parents 04d6abcf6d15
children 2ddc861c6696
line source
1 # SliTaz package receipt.
3 PACKAGE="libIDL"
4 VERSION="0.8.9"
5 CATEGORY="development"
6 SHORT_DESC="IDL Compiling Library."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 BUILD_DEPENDS="flex glib glib-dev"
10 WEB_SITE="http://andrewtv.org/libIDL/"
11 WGET_URL="ftp://ftp.gnome.org/pub/GNOME/sources/libIDL/0.8/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure --prefix=/usr --infodir=/usr/share/info \
18 --mandir=/usr/share/man $CONFIGURE_ARGS &&
19 make &&
20 make DESTDIR=$PWD/_pkg install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr
27 cp -a $_pkg/usr/lib $fs/usr
28 cp -a $_pkg/usr/bin $fs/usr
29 cp -a $_pkg/usr/include $fs/usr
30 strip --strip-unneeded $fs/usr/lib/*.so*
31 }