wok-6.x view opensp/receipt @ rev 8996
asterisk: update BUILD_DEPENDS (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 03 13:38:38 2011 +0100 (2011-03-03) |
parents | |
children | b7319995b37e |
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 DEPENDS=""
9 SOURCE="OpenSP"
10 BUILD_DEPENDS="make gcc perl"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WEB_SITE="http://openjade.sourceforge.net"
13 WGET_URL="$SF_MIRROR/openjade/opensp/$VERSION/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure --prefix=/usr --disable-doc-build --disable-dtddecl
20 make &&
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/bin $fs/usr/lib $fs/usr/share
29 cp -a $_pkg/usr/bin $fs/usr
30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
31 cp -a $_pkg/usr/share/OpenSP $fs/usr/share
32 }