wok-current annotate libhx/receipt @ rev 7543
mplayer-svn:add depends
author | fireflyoo <lufeng369@gmail.com> |
---|---|
date | Tue Dec 07 23:24:12 2010 +0800 (2010-12-07) |
parents | |
children | fa60b846f940 |
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@2442 | 13 # Rules to configure and make the package. |
pascal@2442 | 14 compile_rules() |
pascal@2442 | 15 { |
pascal@2442 | 16 cd $src |
pascal@2442 | 17 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@2442 | 18 --sysconfdir=/etc --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@2442 | 19 make && |
pascal@2442 | 20 make DESTDIR=$PWD/_pkg install |
pascal@2442 | 21 } |
pascal@2442 | 22 |
pascal@2442 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2442 | 24 genpkg_rules() |
pascal@2442 | 25 { |
pascal@2442 | 26 mkdir -p $fs/usr/lib |
pascal@2442 | 27 cp -a $_pkg/usr/lib/libHX.so* $fs/usr/lib |
pascal@2442 | 28 } |