wok-6.x view libhx/receipt @ rev 12469

Add qiviewer (Light QT image viewer)
author Christophe Lincoln <pankso@slitaz.org>
date Sun Apr 22 19:51:18 2012 +0200 (2012-04-22)
parents fa60b846f940
children b887898c0199
line source
1 # SliTaz package receipt.
3 PACKAGE="libhx"
4 VERSION="2.5"
5 CATEGORY="development"
6 SHORT_DESC="data structures and functions for scripting languages."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 SOURCE="libHX"
9 TARBALL="$SOURCE-$VERSION.tar.bz2"
10 WEB_SITE="http://$PACKAGE.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="coreutils-file-special"
14 BUILD_DEPENDS="coreutils-file-special"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 sed -i 's|mktemp -u|/usr/bin/mktemp -u|g' Makefile
21 ./configure --prefix=/usr --infodir=/usr/share/info \
22 --sysconfdir=/etc --mandir=/usr/share/man $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $_pkg/usr/lib/libHX.so* $fs/usr/lib
32 }