void-packages/srcpkgs/ORBit2/template

42 lines
1.1 KiB
Bash
Raw Normal View History

# Template file for 'ORBit2'
pkgname=ORBit2
version=2.14.19
2014-10-12 10:57:52 +02:00
revision=7
build_style=gnu-configure
2014-10-12 10:57:52 +02:00
configure_args="--disable-static"
hostmakedepends="pkg-config"
2013-05-22 16:31:15 +02:00
makedepends="libglib-devel libIDL-devel"
short_desc="Thin/fast CORBA ORB"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2, LGPL-2.1"
homepage="http://projects.gnome.org/ORBit2/"
distfiles="http://ftp.acc.umu.se/pub/gnome/sources/${pkgname}/2.14/${pkgname}-${version}.tar.bz2"
checksum=55c900a905482992730f575f3eef34d50bda717c197c97c08fa5a6eafd857550
# Needs idl-compiler/orbit-idl-2 for the host
nocross=yes
2014-10-12 10:57:52 +02:00
post_install() {
rm -f ${DESTDIR}/usr/lib/*.a
}
libORBit2_package() {
2013-05-22 16:31:15 +02:00
short_desc+=" - Runtime library"
pkg_install() {
2014-02-21 16:31:36 +01:00
vmove "usr/lib/*.so.*"
vmove "usr/lib/orbit-2.0/*.so*"
}
}
ORBit2-devel_package() {
2014-10-12 10:57:52 +02:00
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
2013-05-22 16:31:15 +02:00
short_desc+=" - development files"
pkg_install() {
2014-10-12 10:57:52 +02:00
vmove usr/bin/orbit2-config
vmove usr/lib/*.so
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/idl
vmove usr/share/aclocal
2014-10-12 10:57:52 +02:00
vmove usr/share/gtk-doc
}
}