wok view pamtester/receipt @ rev 18689

openssh, openssh-pam: fix post_install() with --root
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Dec 11 00:40:59 2015 +0200 (2015-12-11)
parents 2f79d601d5bc
children 080c1dff8494
line source
1 # SliTaz package receipt.
3 PACKAGE="pamtester"
4 VERSION="0.1.2"
5 CATEGORY="system-tools"
6 SHORT_DESC="Test the pluggable authentication modules (PAM) facility"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://$PACKAGE.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="pam"
14 BUILD_DEPENDS="pam pam-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure --prefix=/usr --infodir=/usr/share/info \
21 --mandir=/usr/share/man \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr
31 cp -a $install/usr/bin $fs/usr
32 }