wok view libIDL/receipt @ rev 9384

Fixed tazpkg and tazwok to get the sources from mercurial through tag archives.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Mar 26 00:07:02 2011 +0000 (2011-03-26)
parents b3f3b270b95f
children 4976495d1f1f
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 DEPENDS="glib"
10 BUILD_DEPENDS="bison flex glib-dev pkg-config"
11 WEB_SITE="http://andrewtv.org/libIDL/"
12 WGET_URL="ftp://ftp.gnome.org/pub/GNOME/sources/libIDL/${VERSION%.*}/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr --infodir=/usr/share/info \
19 --mandir=/usr/share/man $CONFIGURE_ARGS &&
20 make &&
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr
28 cp -a $_pkg/usr/lib $fs/usr
29 cp -a $_pkg/usr/bin $fs/usr
30 cp -a $_pkg/usr/include $fs/usr
31 }