wok view libtirpc/receipt @ rev 11659

xfe, Improve receipt
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sun Feb 12 22:40:16 2012 +0100 (2012-02-12)
parents
children 8d6f480bf664
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 }