wok-next rev 20685

Add augeas, libvirt, libvirt-glib, libvirt-python, netcf, python-ipaddr, virt-manager.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat May 19 13:04:19 2018 +0300 (2018-05-19)
parents da18d4e8ec13
children 3b71fb376577
files augeas/receipt libvirt-glib/receipt libvirt-python/receipt libvirt/receipt netcf/receipt python-ipaddr/receipt virt-manager/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/augeas/receipt	Sat May 19 13:04:19 2018 +0300
     1.3 @@ -0,0 +1,35 @@
     1.4 +# SliTaz package receipt v2.
     1.5 +
     1.6 +PACKAGE="augeas"
     1.7 +VERSION="1.10.1"
     1.8 +CATEGORY="system-tools"
     1.9 +SHORT_DESC="A configuration editing tool"
    1.10 +MAINTAINER="al.bobylev@gmail.com"
    1.11 +LICENSE="LGPL2.1"
    1.12 +WEB_SITE="http://augeas.net/"
    1.13 +
    1.14 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.15 +WGET_URL="http://download.augeas.net/$TARBALL"
    1.16 +
    1.17 +BUILD_DEPENDS="readline-dev libxml2-dev"
    1.18 +SPLIT="augeas-dev"
    1.19 +
    1.20 +compile_rules() {
    1.21 +	./configure $CONFIGURE_ARGS &&
    1.22 +	fix libtool &&
    1.23 +	make &&
    1.24 +	make install
    1.25 +}
    1.26 +
    1.27 +genpkg_rules() {
    1.28 +	case $PACKAGE in
    1.29 +		augeas)
    1.30 +			copy @std
    1.31 +			DEPENDS="libxml2 readline"
    1.32 +			;;
    1.33 +		*-dev)
    1.34 +			copy @dev
    1.35 +			DEPENDS="augeas libxml2-dev"
    1.36 +			;;
    1.37 +	esac
    1.38 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/libvirt-glib/receipt	Sat May 19 13:04:19 2018 +0300
     2.3 @@ -0,0 +1,38 @@
     2.4 +# SliTaz package receipt v2.
     2.5 +
     2.6 +PACKAGE="libvirt-glib"
     2.7 +VERSION="1.0.0"
     2.8 +CATEGORY="libs"
     2.9 +SHORT_DESC="GLib bindings for libvirt"
    2.10 +MAINTAINER="al.bobylev@gmail.com"
    2.11 +LICENSE="LGPL2.1"
    2.12 +WEB_SITE="https://libvirt.org/"
    2.13 +
    2.14 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.15 +WGET_URL="https://libvirt.org/sources/glib/$TARBALL"
    2.16 +
    2.17 +BUILD_DEPENDS="libvirt-dev glib-dev libxml2-dev intltool gtk-doc \
    2.18 +gobject-introspection-dev vala"
    2.19 +SPLIT="libvirt-glib-dev"
    2.20 +
    2.21 +compile_rules() {
    2.22 +	./configure \
    2.23 +		--disable-static \
    2.24 +		$CONFIGURE_ARGS &&
    2.25 +	fix libtool &&
    2.26 +	make -j1 &&
    2.27 +	make install
    2.28 +}
    2.29 +
    2.30 +genpkg_rules() {
    2.31 +	case $PACKAGE in
    2.32 +		libvirt-glib)
    2.33 +			copy @std
    2.34 +			DEPENDS="glib libvirt libxml2"
    2.35 +			;;
    2.36 +		*-dev)
    2.37 +			copy @dev
    2.38 +			DEPENDS="libvirt-glib glib-dev libvirt-dev libxml2-dev"
    2.39 +			;;
    2.40 +	esac
    2.41 +}
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/libvirt-python/receipt	Sat May 19 13:04:19 2018 +0300
     3.3 @@ -0,0 +1,24 @@
     3.4 +# SliTaz package receipt v2.
     3.5 +
     3.6 +PACKAGE="libvirt-python"
     3.7 +VERSION="4.3.0"
     3.8 +CATEGORY="python"
     3.9 +SHORT_DESC="Python bindings for libvirt"
    3.10 +MAINTAINER="al.bobylev@gmail.com"
    3.11 +LICENSE="GPL2 LGPL2.1"
    3.12 +WEB_SITE="https://pypi.python.org/pypi/libvirt-python"
    3.13 +
    3.14 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    3.15 +WGET_URL="https://libvirt.org/sources/python/$TARBALL"
    3.16 +
    3.17 +BUILD_DEPENDS="libvirt-dev python-dev"
    3.18 +
    3.19 +compile_rules() {
    3.20 +	python setup.py clean
    3.21 +	python setup.py install --root=$install
    3.22 +}
    3.23 +
    3.24 +genpkg_rules() {
    3.25 +	copy @std
    3.26 +	DEPENDS="libvirt python"
    3.27 +}
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/libvirt/receipt	Sat May 19 13:04:19 2018 +0300
     4.3 @@ -0,0 +1,60 @@
     4.4 +# SliTaz package receipt v2.
     4.5 +
     4.6 +PACKAGE="libvirt"
     4.7 +VERSION="4.3.0"
     4.8 +CATEGORY="libs"
     4.9 +SHORT_DESC="API for controlling virtualization engines (openvz, kvm, qemu, \
    4.10 +virtualbox, xen, etc.)"
    4.11 +MAINTAINER="al.bobylev@gmail.com"
    4.12 +LICENSE="LGPL2.1"
    4.13 +WEB_SITE="https://libvirt.org/"
    4.14 +
    4.15 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    4.16 +WGET_URL="https://libvirt.org/sources/$TARBALL"
    4.17 +
    4.18 +BUILD_DEPENDS="xorg-libX11-dev acl-dev attr-dev util-linux-blkid-dev curl-dev \
    4.19 +dbus-dev libdevmapper-dev fuse2-dev glusterfs-dev gnutls-dev netcf-dev \
    4.20 +libnl-dev parted-dev libpcap-dev libssh-dev libxml2-dev gettext \
    4.21 +xorg-libpciaccess-dev libsasl cyrus-sasl-dev libtirpc-dev yajl-dev \
    4.22 +rpcsvc-proto lvm2-dev open-iscsi"
    4.23 +SPLIT="libvirt-dev"
    4.24 +
    4.25 +compile_rules() {
    4.26 +	export LDFLAGS="$LDFLAGS -lX11"
    4.27 +
    4.28 +	./configure \
    4.29 +		--prefix=/usr \
    4.30 +		--libexec=/usr/lib/libvirt \
    4.31 +		--sbindir=/usr/bin \
    4.32 +		--with-storage-lvm \
    4.33 +		--with-udev \
    4.34 +		--without-hal \
    4.35 +		--disable-static \
    4.36 +		--with-storage-gluster \
    4.37 +		--with-qemu-user=nobody \
    4.38 +		--with-qemu-group=kvm \
    4.39 +		--with-netcf \
    4.40 +		--with-interface \
    4.41 +		--with-lxc \
    4.42 +		--with-storage-iscsi \
    4.43 +		--with-storage-disk \
    4.44 +		$CONFIGURE_ARGS &&
    4.45 +	fix libtool &&
    4.46 +	make &&
    4.47 +	make install
    4.48 +}
    4.49 +
    4.50 +genpkg_rules() {
    4.51 +	case $PACKAGE in
    4.52 +		libvirt)
    4.53 +			copy @std
    4.54 +			DEPENDS="acl dbus eudev fuse2 glusterfs libcurl libdevmapper \
    4.55 +			libgnutls libnl libpcap libsasl libssh libssh2 libtirpc libxml2 \
    4.56 +			netcf parted util-linux-blkid xorg-libpciaccess yajl"
    4.57 +			CONFIG_FILES="/etc/libvirt/"
    4.58 +			;;
    4.59 +		*-dev)
    4.60 +			copy @dev
    4.61 +			;;
    4.62 +	esac
    4.63 +}
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/netcf/receipt	Sat May 19 13:04:19 2018 +0300
     5.3 @@ -0,0 +1,42 @@
     5.4 +# SliTaz package receipt v2.
     5.5 +
     5.6 +PACKAGE="netcf"
     5.7 +VERSION="0.2.8"
     5.8 +CATEGORY="network"
     5.9 +SHORT_DESC="A library for configuring network interfaces"
    5.10 +MAINTAINER="al.bobylev@gmail.com"
    5.11 +LICENSE="LGPL2.1"
    5.12 +WEB_SITE="https://pagure.io/netcf"
    5.13 +
    5.14 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    5.15 +WGET_URL="https://releases.pagure.org/netcf/$TARBALL"
    5.16 +
    5.17 +BUILD_DEPENDS="automake libxml2-dev libxslt-dev readline-dev augeas-dev \
    5.18 +libnl-dev"
    5.19 +SPLIT="netcf-dev"
    5.20 +
    5.21 +compile_rules() {
    5.22 +	aclocal
    5.23 +	automake --add-missing
    5.24 +	autoreconf
    5.25 +	./configure \
    5.26 +		--disable-static \
    5.27 +		--with-driver=redhat \
    5.28 +		--libexecdir=/usr/lib/netcf \
    5.29 +		$CONFIGURE_ARGS &&
    5.30 +	make &&
    5.31 +	make install
    5.32 +}
    5.33 +
    5.34 +genpkg_rules() {
    5.35 +	case $PACKAGE in
    5.36 +		netcf)
    5.37 +			copy @std
    5.38 +			DEPENDS="augeas libgcrypt libgpg-error libnl libxml2 libxslt \
    5.39 +			readline"
    5.40 +			;;
    5.41 +		*-dev)
    5.42 +			copy @dev
    5.43 +			;;
    5.44 +	esac
    5.45 +}
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/python-ipaddr/receipt	Sat May 19 13:04:19 2018 +0300
     6.3 @@ -0,0 +1,21 @@
     6.4 +# SliTaz package receipt v2.
     6.5 +
     6.6 +PACKAGE="python-ipaddr"
     6.7 +VERSION="2.1.11"
     6.8 +CATEGORY="python"
     6.9 +SHORT_DESC="Google's Python IP address manipulation library"
    6.10 +MAINTAINER="al.bobylev@gmail.com"
    6.11 +LICENSE="Apache"
    6.12 +WEB_SITE="https://github.com/google/ipaddr-py"
    6.13 +
    6.14 +TARBALL="ipaddr-$VERSION.tar.gz"
    6.15 +WGET_URL="https://pypi.python.org/packages/source/i/ipaddr/$TARBALL"
    6.16 +
    6.17 +compile_rules() {
    6.18 +	python setup.py install --root=$install
    6.19 +}
    6.20 +
    6.21 +genpkg_rules() {
    6.22 +	copy @std
    6.23 +	DEPENDS="python"
    6.24 +}
     7.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.2 +++ b/virt-manager/receipt	Sat May 19 13:04:19 2018 +0300
     7.3 @@ -0,0 +1,29 @@
     7.4 +# SliTaz package receipt v2.
     7.5 +
     7.6 +PACKAGE="virt-manager"
     7.7 +VERSION="1.5.1"
     7.8 +CATEGORY="system-tools"
     7.9 +SHORT_DESC="Console user interface for managing virtual machines"
    7.10 +MAINTAINER="al.bobylev@gmail.com"
    7.11 +LICENSE="GPL2"
    7.12 +WEB_SITE="http://virt-manager.org/"
    7.13 +
    7.14 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    7.15 +WGET_URL="https://virt-manager.org/download/sources/virt-manager/$TARBALL"
    7.16 +
    7.17 +BUILD_DEPENDS="grep glib-dev intltool"
    7.18 +
    7.19 +compile_rules() {
    7.20 +	python setup.py build &&
    7.21 +
    7.22 +	python setup.py \
    7.23 +		--no-update-icon-cache \
    7.24 +		--no-compile-schemas \
    7.25 +		install --root $install
    7.26 +}
    7.27 +
    7.28 +genpkg_rules() {
    7.29 +	copy @std
    7.30 +	DEPENDS="python libosinfo libvirt-glib libvirt-python pygobject \
    7.31 +	python-ipaddr python-requests gtk-vnc pycairo spice-gtk vte"
    7.32 +}