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