wok-next view vzctl/receipt @ rev 20691
aescrypt: add option for SHA256sum
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Mon May 21 19:42:16 2018 +0000 (2018-05-21) |
parents | 10df65db91ad |
children | 8e1b2a143eb3 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="vzctl"
4 VERSION="3.0.25.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="OpenVZ containers control utility"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://wiki.openvz.org/Main_Page"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="http://download.openvz.org/utils/${PACKAGE}/${VERSION}/src/${TARBALL}"
14 BUILD_DEPENDS="sed"
16 compile_rules() {
17 ./configure \
18 --enable-bashcomp \
19 --enable-logrotate \
20 $CONFIGURE_ARGS &&
21 fix libtool &&
22 make &&
23 make DESTDIR=$DESTDIR install &&
24 make DESTDIR=$DESTDIR install-slitaz
25 }
27 genpkg_rules() {
28 mkdir -p \
29 $fs/usr/lib \
30 $fs/usr/share
32 cp -a $install/usr/sbin $fs/usr
33 cp -a $install/usr/lib/vzctl $fs/usr/lib
34 cp -a $install/usr/lib/*.so* $fs/usr/lib
35 cp -a $install/etc $fs/
36 cp -a $install/var/ $fs/
37 cp -a $install/vz/ $fs/
39 # fix permissions
40 chmod 0755 $fs/usr/lib/vzctl/scripts/v*
41 chmod 0755 $fs/usr/sbin/*
42 chmod 0755 $fs/etc/init.d/vz
44 # Copy slitaz script and config
45 cp -a $stuff/slitaz.conf $fs/etc/vz/dists
46 cp -a $stuff/slitaz-*.sh $fs/etc/vz/dists/scripts
47 DEPENDS="udev bash procmail bridge-utils logrotate tar gzip"
48 }