wok-next view vzctl/receipt @ rev 21451

updated snownews (1.5.12 -> 1.6.10)
author Hans-G?nter Theisgen
date Thu May 07 13:19:49 2020 +0100 (2020-05-07)
parents 8e1b2a143eb3
children
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="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://openvz.livejournal.com/"
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=$install install &&
24 make DESTDIR=$install 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 }