wok-4.x view opensp/receipt @ rev 10013

binutils: use --build and --host like it was in 3.0 and above so we got the correct tripplet
author Christophe Lincoln <pankso@slitaz.org>
date Thu May 19 05:35:18 2011 +0200 (2011-05-19)
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 }