wok-next annotate libhx/receipt @ rev 15650
Up: libcss (0.1.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Dec 10 16:14:37 2013 +0000 (2013-12-10) |
parents | 16b97ec782a4 |
children | 75937d22148a |
rev | line source |
---|---|
pascal@2442 | 1 # SliTaz package receipt. |
pascal@2442 | 2 |
pascal@2442 | 3 PACKAGE="libhx" |
pascal@2442 | 4 VERSION="2.5" |
pascal@2442 | 5 CATEGORY="development" |
pascal@2442 | 6 SHORT_DESC="data structures and functions for scripting languages." |
pascal@2442 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15081 | 8 LICENSE="LGPL3 LGPL2.1" |
pascal@2442 | 9 SOURCE="libHX" |
pascal@2442 | 10 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pascal@2442 | 11 WEB_SITE="http://$PACKAGE.sourceforge.net/" |
pascal@2442 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@2442 | 13 |
pascal@12119 | 14 DEPENDS="coreutils-file-special" |
pascal@12119 | 15 BUILD_DEPENDS="coreutils-file-special" |
pascal@12119 | 16 |
pascal@2442 | 17 # Rules to configure and make the package. |
pascal@2442 | 18 compile_rules() |
pascal@2442 | 19 { |
pascal@2442 | 20 cd $src |
pascal@15081 | 21 sed -i 's|mktemp -u|/usr/bin/mktemp -u|g' Makefile* |
pascal@2442 | 22 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@2442 | 23 --sysconfdir=/etc --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@2442 | 24 make && |
pascal@12119 | 25 make DESTDIR=$DESTDIR install |
pascal@2442 | 26 } |
pascal@2442 | 27 |
pascal@2442 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2442 | 29 genpkg_rules() |
pascal@2442 | 30 { |
pascal@2442 | 31 mkdir -p $fs/usr/lib |
pascal@15081 | 32 cp -a $install/usr/lib/libHX.so* $fs/usr/lib |
pascal@2442 | 33 } |