wok annotate libhx/receipt @ rev 12119

libhx, openjpeg, vlc, zlib: update bdeps (bb incompatibilities)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Mar 13 13:21:44 2012 +0100 (2012-03-13)
parents fa60b846f940
children b887898c0199
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@2442 8 SOURCE="libHX"
pascal@2442 9 TARBALL="$SOURCE-$VERSION.tar.bz2"
pascal@2442 10 WEB_SITE="http://$PACKAGE.sourceforge.net/"
pascal@2442 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@2442 12
pascal@12119 13 DEPENDS="coreutils-file-special"
pascal@12119 14 BUILD_DEPENDS="coreutils-file-special"
pascal@12119 15
pascal@2442 16 # Rules to configure and make the package.
pascal@2442 17 compile_rules()
pascal@2442 18 {
pascal@2442 19 cd $src
slaxemulator@8377 20 sed -i 's|mktemp -u|/usr/bin/mktemp -u|g' Makefile
pascal@2442 21 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@2442 22 --sysconfdir=/etc --mandir=/usr/share/man $CONFIGURE_ARGS &&
pascal@2442 23 make &&
pascal@12119 24 make DESTDIR=$DESTDIR install
pascal@2442 25 }
pascal@2442 26
pascal@2442 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@2442 28 genpkg_rules()
pascal@2442 29 {
pascal@2442 30 mkdir -p $fs/usr/lib
pascal@2442 31 cp -a $_pkg/usr/lib/libHX.so* $fs/usr/lib
pascal@2442 32 }