wok-current view yp-tools/receipt @ rev 21402

libtorrent-rasterbar: fix build
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 23 10:23:40 2019 +0200 (2019-04-23)
parents 617dbdeb6f7e
children 28641e299609
line source
1 # SliTaz package receipt.
3 PACKAGE="yp-tools"
4 VERSION="2.12"
5 CATEGORY="network"
6 SHORT_DESC="Yellow pages tools."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://www.kernel.org/pub/linux/utils/net/NIS/"
11 WGET_URL="$WEB_SITE/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure --prefix=/usr --infodir=/usr/share/info \
18 --mandir=/usr/share/man \
19 $CONFIGURE_ARGS &&
20 make &&
21 make DESTDIR=$DESTDIR install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr
28 cp -a $install/usr/sbin $fs/usr
29 cp -a $install/usr/bin $fs/usr
30 cp -a $install/var $fs
31 }