wok view libhx/receipt @ rev 25779
Up fdutils (5.6), lite (1.11), again
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 20 09:24:30 2024 +0000 (2 months ago) |
parents | a6336704378f |
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 - $WEB_SITE 2>/dev/null | \
22 sed '/atest release/!d;s|.*release: <b>||;s|<.*||;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 }