wok-current view 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
line source
1 # SliTaz package receipt.
3 PACKAGE="libcss"
4 VERSION="0.1.2"
5 CATEGORY="system-tools"
6 SHORT_DESC="CSS Parser"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="http://www.netsurf-browser.org/projects/libcss/"
10 TARBALL="$PACKAGE-$VERSION-src.tar.gz"
11 WGET_URL="http://download.netsurf-browser.org/libs/releases/$TARBALL"
12 #HOST_ARCH="i486 arm"
14 DEPENDS="libparserutils libwapcaplet"
15 BUILD_DEPENDS="libwapcaplet-dev libparserutils-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/*} 2>/dev/null | \
21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 make COMPONENT_TYPE=lib-shared &&
28 make PREFIX=/usr DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib
35 cp -a $src/*-lib-shared/*.so* $fs/usr/lib
36 }