wok-current view libcss/receipt @ rev 25713
Up abiword (3.0.5), libwmf (0.2.13), fix wv url
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Jun 14 11:35:21 2024 +0000 (2 months ago) |
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 }