wok view opensp/receipt @ rev 15953

arm: fix file cross compilation and add testsuite
author Christophe Lincoln <pankso@slitaz.org>
date Sun Feb 23 15:49:23 2014 +0100 (2014-02-23)
parents b7319995b37e
children 080c1dff8494
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 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure --prefix=/usr --disable-doc-build --disable-dtddecl \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/bin $fs/usr/lib $fs/usr/share
32 cp -a $install/usr/bin $fs/usr
33 cp -a $install/usr/lib/*.so* $fs/usr/lib
34 cp -a $install/usr/share/OpenSP $fs/usr/share
35 }