wok-stable view libtirpc/receipt @ rev 10068

tcl: Add $CONFIGURE_ARGS.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri May 20 05:19:01 2011 +0000 (2011-05-20)
parents
children
line source
1 # SliTaz package receipt.
3 PACKAGE="libtirpc"
4 VERSION="0.2.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="Transport-Independent RPC library."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://libtirpc.sourceforge.net/"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 ./configure --prefix=/usr --infodir=/usr/share/info \
17 --mandir=/usr/share/man \
18 $CONFIGURE_ARGS &&
19 make &&
20 make DESTDIR=$PWD/_pkg install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/lib
27 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
28 cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
29 cp -a $_pkg/etc $fs
30 }