wok annotate libhx/receipt @ rev 18788
Add opencv
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jan 05 10:11:51 2016 +0100 (2016-01-05) |
parents | b887898c0199 |
children | a8f0449114d3 |
rev | line source |
---|---|
pascal@2442 | 1 # SliTaz package receipt. |
pascal@2442 | 2 |
pascal@2442 | 3 PACKAGE="libhx" |
pascal@18455 | 4 VERSION="3.21" |
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@18455 | 10 TARBALL="$SOURCE-$VERSION.tar.xz" |
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@18455 | 20 ./configure --prefix=/usr $CONFIGURE_ARGS && |
pascal@2442 | 21 make && |
pascal@12119 | 22 make DESTDIR=$DESTDIR install |
pascal@2442 | 23 } |
pascal@2442 | 24 |
pascal@2442 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2442 | 26 genpkg_rules() |
pascal@2442 | 27 { |
pascal@2442 | 28 mkdir -p $fs/usr/lib |
pascal@15081 | 29 cp -a $install/usr/lib/libHX.so* $fs/usr/lib |
pascal@2442 | 30 } |