wok view opensp/receipt @ rev 25503

f3: include extra programs
author Hans-G?nter Theisgen
date Fri Jan 27 10:37:43 2023 +0100 (15 months ago)
parents 080c1dff8494
children 29df00e1e19d
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="https://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 }