wok-6.x view libhx/receipt @ rev 25465
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 01 08:33:11 2022 +0000 (2022-10-01) |
parents | 65d7d867e0c1 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="libhx"
4 VERSION="4.3"
5 CATEGORY="development"
6 SHORT_DESC="Data structures and functions for scripting languages."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="LGPL3 LGPL2.1"
9 WEB_SITE="https://inai.de/projects/libhx/"
11 SOURCE="libHX"
12 TARBALL="$SOURCE-$VERSION.tar.xz"
13 WGET_URL="https://inai.de/files/$PACKAGE/$TARBALL"
15 DEPENDS="coreutils-file-special gcc83-lib-base"
16 BUILD_DEPENDS="coreutils-file-special gcc83"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://sourceforge.net/projects/libhx/files/libHX/ 2>/dev/null | \
22 sed '/scope="row/!d;s|.*/libHX-||;s|.tar.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure \
29 CC=gcc-83 \
30 CXX=g++-83 \
31 --prefix=/usr \
32 $CONFIGURE_ARGS &&
33 make &&
34 make install DESTDIR=$DESTDIR
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/lib
41 cp -a $install/usr/lib/libHX.so* $fs/usr/lib
42 }