wok-current annotate libwapcaplet/receipt @ rev 25066
updated alsa-lib, alsa-lib-dev and alsa-utils (1.2.2 -> 1.2.7)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jun 10 13:35:13 2022 +0100 (2022-06-10) |
parents | e1200b521d82 |
children |
rev | line source |
---|---|
erjo@5931 | 1 # SliTaz package receipt. |
erjo@5931 | 2 |
erjo@5931 | 3 PACKAGE="libwapcaplet" |
pascal@15651 | 4 VERSION="0.1.1" |
erjo@5931 | 5 CATEGORY="system-tools" |
erjo@5931 | 6 SHORT_DESC="String internment library" |
erjo@5931 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15482 | 8 LICENSE="MIT" |
erjo@5931 | 9 TARBALL="$PACKAGE-$VERSION-src.tar.gz" |
pascal@15651 | 10 WEB_SITE="http://www.netsurf-browser.org/projects/libwapcaplet/" |
pascal@15651 | 11 WGET_URL="http://download.netsurf-browser.org/libs/releases/$TARBALL" |
pankso@16256 | 12 HOST_ARCH="i486 arm" |
erjo@5931 | 13 |
pascal@24447 | 14 # What is the latest version available today? |
pascal@24447 | 15 current_version() |
pascal@24447 | 16 { |
pascal@24447 | 17 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24447 | 18 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\)-src.*|\\1|" | sort -Vr | sed q |
pascal@24447 | 19 } |
pascal@24447 | 20 |
erjo@5931 | 21 # Rules to configure and make the package. |
erjo@5931 | 22 compile_rules() |
erjo@5931 | 23 { |
pankso@16256 | 24 make COMPONENT_TYPE=lib-shared && |
pankso@16256 | 25 make PREFIX=/usr DESTDIR=$DESTDIR install |
erjo@5931 | 26 } |
erjo@5931 | 27 |
erjo@5931 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@5931 | 29 genpkg_rules() |
erjo@5931 | 30 { |
erjo@5931 | 31 mkdir -p $fs/usr/lib |
erjo@5931 | 32 cp -a $src/*-lib-shared/*.so* $fs/usr/lib |
erjo@5931 | 33 } |
erjo@5931 | 34 |