From a8fd30890f324a160c1145f9284129e0b672f15e Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 22 Dec 2009 23:49:46 +0100 Subject: [PATCH] Added libcompizconfig-0.8.4 build template. --HG-- extra : convert_revision : 0cbeb01e3afbadc501f2637c78d7fb06012979d6 --- srcpkgs/libcompizconfig-devel | 1 + srcpkgs/libcompizconfig/depends | 2 ++ .../libcompizconfig-devel.template | 22 +++++++++++++++++ srcpkgs/libcompizconfig/template | 24 +++++++++++++++++++ 4 files changed, 49 insertions(+) create mode 120000 srcpkgs/libcompizconfig-devel create mode 100644 srcpkgs/libcompizconfig/depends create mode 100644 srcpkgs/libcompizconfig/libcompizconfig-devel.template create mode 100644 srcpkgs/libcompizconfig/template diff --git a/srcpkgs/libcompizconfig-devel b/srcpkgs/libcompizconfig-devel new file mode 120000 index 0000000000..06dd437bfc --- /dev/null +++ b/srcpkgs/libcompizconfig-devel @@ -0,0 +1 @@ +libcompizconfig \ No newline at end of file diff --git a/srcpkgs/libcompizconfig/depends b/srcpkgs/libcompizconfig/depends new file mode 100644 index 0000000000..67f3e10150 --- /dev/null +++ b/srcpkgs/libcompizconfig/depends @@ -0,0 +1,2 @@ +abi_depends=">=0.8.4" +api_depends="${abi_depends}" diff --git a/srcpkgs/libcompizconfig/libcompizconfig-devel.template b/srcpkgs/libcompizconfig/libcompizconfig-devel.template new file mode 100644 index 0000000000..fb1bbd245a --- /dev/null +++ b/srcpkgs/libcompizconfig/libcompizconfig-devel.template @@ -0,0 +1,22 @@ +# Template file for 'libcompizconfig-devel'. +# +short_desc="${sourcepkg} development files" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +Add_dependency run compiz-devel +Add_dependency run libxml2-devel +Add_dependency run libcompizconfig + +do_install() +{ + mkdir -p ${DESTDIR}/usr/lib/compiz + mkdir -p ${DESTDIR}/usr/lib/compizconfig/backends + 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/lib/compiz/*.a ${DESTDIR}/usr/lib/compiz + mv ${SRCPKGDESTDIR}/usr/lib/compizconfig/backends/*.a \ + ${DESTDIR}/usr/lib/compizconfig/backends +} diff --git a/srcpkgs/libcompizconfig/template b/srcpkgs/libcompizconfig/template new file mode 100644 index 0000000000..e46b79e371 --- /dev/null +++ b/srcpkgs/libcompizconfig/template @@ -0,0 +1,24 @@ +# Template file for 'libcompizconfig' +pkgname=libcompizconfig +version=0.8.4 +distfiles="http://releases.compiz-fusion.org/$version/$pkgname-$version.tar.bz2" +build_style=gnu_configure +short_desc="Compiz configuration system library" +maintainer="Juan RP " +checksum=41313e935f1beb3375367bded72d97de60e7aabf1129620be53a7fc1aca0b029 +long_desc=" + Compiz is a compositing window manager that uses 3D graphics acceleration + via OpenGL. It provides various new graphical effects and features on + any desktop environment, including Gnome and KDE. + + This package contains a library for the compiz configuration backend." + +conf_files="/etc/compizconfig/config" +subpackages="$pkgname-devel" + +Add_dependency run glibc +Add_dependency run compiz +Add_dependency run libxml2 +Add_dependency build intltool +Add_dependency build compiz-devel +Add_dependency build libxml2-devel