wok-6.x view opensp/receipt @ rev 24653

updated i3status (2.7 -> 2.14)
author Hans-G?nter Theisgen
date Fri Mar 11 06:45:15 2022 +0100 (2022-03-11)
parents 23c3aed67cd9
children 65ff25c4de90
line source
1 # SliTaz package receipt.
3 PACKAGE="opensp"
4 VERSION="1.5.2"
5 CATEGORY="misc"
6 SHORT_DESC="An implementation of DSSSL, a style language to format SGML or XML documents"
7 MAINTAINER="remy.carel@free.fr"
8 LICENSE="MIT"
9 SOURCE="OpenSP"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://openjade.sourceforge.net"
12 WGET_URL="$SF_MIRROR/openjade/opensp/$VERSION/$TARBALL"
14 DEPENDS=""
15 BUILD_DEPENDS="make gcc perl"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://sourceforge.net/projects/openjade/files/opensp/ 2>/dev/null | \
21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
22 sed '/scope="row/!d;s|.*/opensp/||;s|/.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 cd $src
29 ./configure --prefix=/usr --disable-doc-build --disable-dtddecl \
30 $CONFIGURE_ARGS &&
31 make &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/bin $fs/usr/lib $fs/usr/share
40 cp -a $install/usr/bin $fs/usr
41 cp -a $install/usr/lib/*.so* $fs/usr/lib
42 cp -a $install/usr/share/OpenSP $fs/usr/share
43 }