wok view libhx/receipt @ rev 24768

libwebkit: bison 3 fix
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 19 12:46:44 2022 +0000 (2022-03-19)
parents a8f0449114d3
children a6336704378f
line source
1 # SliTaz package receipt.
3 PACKAGE="libhx"
4 VERSION="3.24"
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="http://libhx.sourceforge.net/"
11 SOURCE="libHX"
12 TARBALL="$SOURCE-$VERSION.tar.xz"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 DEPENDS="coreutils-file-special"
16 BUILD_DEPENDS="coreutils-file-special"
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 --prefix=/usr \
30 $CONFIGURE_ARGS &&
31 make &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib
39 cp -a $install/usr/lib/libHX.so* $fs/usr/lib
40 }