Added libvirt-0.8.7 build template.
This commit is contained in:
parent
9e7d351292
commit
ca85f348ba
7 changed files with 132 additions and 0 deletions
1
srcpkgs/libvirt-devel
Symbolic link
1
srcpkgs/libvirt-devel
Symbolic link
|
@ -0,0 +1 @@
|
|||
libvirt
|
1
srcpkgs/libvirt-python
Symbolic link
1
srcpkgs/libvirt-python
Symbolic link
|
@ -0,0 +1 @@
|
|||
libvirt
|
2
srcpkgs/libvirt/depends
Normal file
2
srcpkgs/libvirt/depends
Normal file
|
@ -0,0 +1,2 @@
|
|||
abi_depends=">=0.8.7"
|
||||
api_depends="${abi_depends}"
|
35
srcpkgs/libvirt/libvirt-devel.template
Normal file
35
srcpkgs/libvirt/libvirt-devel.template
Normal file
|
@ -0,0 +1,35 @@
|
|||
# Template file for 'libvirt-devel'.
|
||||
#
|
||||
short_desc="${short_desc} - development files"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package contains files for development, headers, static libs, etc."
|
||||
|
||||
Add_dependency run libcap-ng-devel
|
||||
Add_dependency run libnl-devel
|
||||
Add_dependency run gnutls-devel
|
||||
Add_dependency run libgcrypt-devel
|
||||
Add_dependency run libsasl-devel
|
||||
Add_dependency run xen-devel
|
||||
Add_dependency run libcurl-devel
|
||||
Add_dependency run libpcap-devel
|
||||
Add_dependency run libxml2-devel
|
||||
Add_dependency run libparted-devel
|
||||
Add_dependency run device-mapper-devel
|
||||
Add_dependency run dbus-devel
|
||||
Add_dependency run libudev-devel
|
||||
Add_dependency run libpciaccess-devel
|
||||
Add_dependency run avahi-libs-devel
|
||||
Add_dependency run readline-devel
|
||||
Add_dependency run libvirt
|
||||
|
||||
do_install()
|
||||
{
|
||||
mkdir -p ${DESTDIR}/usr/lib ${DESTDIR}/usr/share/doc
|
||||
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/*.*a ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/share/gtk-doc ${DESTDIR}/usr/share
|
||||
mv ${SRCPKGDESTDIR}/usr/share/doc/libvirt-${version} \
|
||||
${DESTDIR}/usr/share/doc
|
||||
}
|
27
srcpkgs/libvirt/libvirt-python.template
Normal file
27
srcpkgs/libvirt/libvirt-python.template
Normal file
|
@ -0,0 +1,27 @@
|
|||
# Template file for 'libvirt-python'.
|
||||
#
|
||||
short_desc="${short_desc} - python bindings"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package contains the Python language bindings."
|
||||
|
||||
Add_dependency run glibc
|
||||
Add_dependency run libcap-ng
|
||||
Add_dependency run libnl
|
||||
Add_dependency run gnutls
|
||||
Add_dependency run libgcrypt
|
||||
Add_dependency run libsasl
|
||||
Add_dependency run xen
|
||||
Add_dependency run libcurl
|
||||
Add_dependency run libpcap
|
||||
Add_dependency run libxml2
|
||||
Add_dependency run python
|
||||
Add_dependency run libvirt
|
||||
|
||||
do_install()
|
||||
{
|
||||
mkdir -p ${DESTDIR}/usr/lib ${DESTDIR}/usr/share/doc
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/python* ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/share/doc/libvirt-python* \
|
||||
${DESTDIR}/usr/share/doc
|
||||
}
|
64
srcpkgs/libvirt/template
Normal file
64
srcpkgs/libvirt/template
Normal file
|
@ -0,0 +1,64 @@
|
|||
# Template file for 'libvirt'
|
||||
pkgname=libvirt
|
||||
version=0.8.7
|
||||
distfiles="http://libvirt.org/sources/$pkgname-$version.tar.gz"
|
||||
build_style=gnu_configure
|
||||
configure_args="--without-hal"
|
||||
make_build_args="POD2MAN=/usr/lib/perl5/core_perl/bin/pod2man"
|
||||
short_desc="The virtualization API"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
checksum=da7b0e8bff7b2df2e19d732272674599bfb805787fb0d6f30289ba700ca77f31
|
||||
long_desc="
|
||||
libvirt is:
|
||||
* A toolkit to interact with the virtualization capabilities of recent
|
||||
versions of Linux (and other OSes).
|
||||
* Free software available under the GNU Lesser General Public License.
|
||||
* A long term stable C API
|
||||
* A set of bindings for common languages
|
||||
* A CIM provider for the DMTF virtualization schema
|
||||
* A QMF agent for the AMQP/QPid messaging system"
|
||||
|
||||
subpackages="$pkgname-devel $pkgname-python"
|
||||
|
||||
conf_files="
|
||||
/etc/libvirt/qemu.conf
|
||||
/etc/libvirt/lxc.conf
|
||||
/etc/libvirt/libvirtd.conf
|
||||
/etc/sasl2/libvirt.conf"
|
||||
|
||||
Add_dependency run glibc
|
||||
Add_dependency run libcap-ng
|
||||
Add_dependency run libnl
|
||||
Add_dependency run gnutls
|
||||
Add_dependency run libgcrypt
|
||||
Add_dependency run libsasl
|
||||
Add_dependency run xen
|
||||
Add_dependency run libcurl
|
||||
Add_dependency run libpcap
|
||||
Add_dependency run libxml2
|
||||
Add_dependency run libparted
|
||||
Add_dependency run device-mapper
|
||||
Add_dependency run dbus-libs
|
||||
Add_dependency run libudev
|
||||
Add_dependency run libpciaccess
|
||||
Add_dependency run avahi-libs
|
||||
Add_dependency run readline
|
||||
Add_dependency run polkit
|
||||
|
||||
Add_dependency build libcap-ng-devel
|
||||
Add_dependency build libnl-devel
|
||||
Add_dependency build gnutls-devel
|
||||
Add_dependency build libgcrypt-devel
|
||||
Add_dependency build libsasl-devel
|
||||
Add_dependency build xen-devel
|
||||
Add_dependency build libcurl-devel
|
||||
Add_dependency build libpcap-devel
|
||||
Add_dependency build libxml2-devel
|
||||
Add_dependency build libparted-devel
|
||||
Add_dependency build device-mapper-devel
|
||||
Add_dependency build dbus-devel
|
||||
Add_dependency build libudev-devel
|
||||
Add_dependency build libpciaccess-devel
|
||||
Add_dependency build avahi-libs-devel
|
||||
Add_dependency build readline-devel
|
||||
Add_dependency build polkit-devel
|
|
@ -758,3 +758,5 @@ libsvn_swig_perl-1.so subversion-perl subversion-devel
|
|||
libsvn_swig_ruby-1.so subversion-ruby subversion-devel
|
||||
libjson-glib-1.0.so json-glib json-glib-devel
|
||||
liblxc.so liblxc lxc-devel
|
||||
libvirt.so libvirt libvirt-devel
|
||||
libvirt-qemu.so libvirt libvirt-devel
|
||||
|
|
Loading…
Reference in a new issue