wok-6.x annotate libhx/receipt @ rev 24072
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 07 17:56:16 2021 +0000 (2021-07-07) |
parents | 75937d22148a |
children | 65d7d867e0c1 |
rev | line source |
---|---|
pascal@2442 | 1 # SliTaz package receipt. |
pascal@2442 | 2 |
pascal@2442 | 3 PACKAGE="libhx" |
Hans-G?nter@23074 | 4 VERSION="3.24" |
pascal@2442 | 5 CATEGORY="development" |
Hans-G?nter@23074 | 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" |
Hans-G?nter@23074 | 9 WEB_SITE="http://libhx.sourceforge.net/" |
Hans-G?nter@23074 | 10 |
pascal@2442 | 11 SOURCE="libHX" |
pascal@18455 | 12 TARBALL="$SOURCE-$VERSION.tar.xz" |
pascal@2442 | 13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@2442 | 14 |
pascal@12119 | 15 DEPENDS="coreutils-file-special" |
pascal@12119 | 16 BUILD_DEPENDS="coreutils-file-special" |
pascal@12119 | 17 |
pascal@2442 | 18 # Rules to configure and make the package. |
pascal@2442 | 19 compile_rules() |
pascal@2442 | 20 { |
Hans-G?nter@23074 | 21 ./configure \ |
Hans-G?nter@23074 | 22 --prefix=/usr \ |
Hans-G?nter@23074 | 23 $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 |
Hans-G?nter@23074 | 32 cp -a $install/usr/lib/libHX.so* $fs/usr/lib |
pascal@2442 | 33 } |