wok view libwapcaplet/receipt @ rev 25645
Up libssh2 (1.11.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jan 17 10:58:45 2024 +0000 (10 months ago) |
parents | ede1d184d5c5 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="libwapcaplet"
4 VERSION="0.1.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="String internment library"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION-src.tar.gz"
10 WEB_SITE="https://www.netsurf-browser.org/projects/libwapcaplet/"
11 WGET_URL="https://download.netsurf-browser.org/libs/releases/$TARBALL"
12 HOST_ARCH="i486 arm"
14 # What is the latest version available today?
15 current_version()
16 {
17 wget -O - ${WGET_URL%/*} 2>/dev/null | \
18 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\)-src.*|\\1|" | sort -Vr | sed q
19 }
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 make COMPONENT_TYPE=lib-shared &&
25 make PREFIX=/usr DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib
32 cp -a $src/*-lib-shared/*.so* $fs/usr/lib
33 }