From 29960881cccb7fdd7a2aab60e98d411272bee0c9 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 16 Apr 2010 10:54:14 +0200 Subject: [PATCH] Added libgksu-2.0.12 build template. --HG-- extra : convert_revision : 744924d91f0e90f1f567bcdf5eafc98feae34c32 --- srcpkgs/libgksu-devel | 1 + srcpkgs/libgksu/depends | 2 + srcpkgs/libgksu/libgksu-devel.template | 29 +++++++++++++++ srcpkgs/libgksu/template | 47 ++++++++++++++++++++++++ xbps-src/common/mapping_shlib_binpkg.txt | 1 + 5 files changed, 80 insertions(+) create mode 120000 srcpkgs/libgksu-devel create mode 100644 srcpkgs/libgksu/depends create mode 100644 srcpkgs/libgksu/libgksu-devel.template create mode 100644 srcpkgs/libgksu/template diff --git a/srcpkgs/libgksu-devel b/srcpkgs/libgksu-devel new file mode 120000 index 0000000000..feb81b854d --- /dev/null +++ b/srcpkgs/libgksu-devel @@ -0,0 +1 @@ +libgksu \ No newline at end of file diff --git a/srcpkgs/libgksu/depends b/srcpkgs/libgksu/depends new file mode 100644 index 0000000000..147e3bac5a --- /dev/null +++ b/srcpkgs/libgksu/depends @@ -0,0 +1,2 @@ +abi_depends=">=2.0.12" +api_depends="${abi_depends}" diff --git a/srcpkgs/libgksu/libgksu-devel.template b/srcpkgs/libgksu/libgksu-devel.template new file mode 100644 index 0000000000..c501774ae1 --- /dev/null +++ b/srcpkgs/libgksu/libgksu-devel.template @@ -0,0 +1,29 @@ +# Template file for 'libgksu-devel'. +# +short_desc="${sourcepkg} - development files" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +Add_dependency run pkg-config +Add_dependency run intltool +Add_dependency run glib-devel +Add_dependency run startup-notification-devel +Add_dependency run libgnome-keyring-devel +Add_dependency run libgtop-devel +Add_dependency run gtk+-devel +Add_dependency run atk-devel +Add_dependency run pango-devel +Add_dependency run cairo-devel +Add_dependency run freetype-devel +Add_dependency run fontconfig-devel +Add_dependency run GConf-devel +Add_dependency run libgksu + +do_install() +{ + mkdir -p ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr + mv ${SRCPKGDESTDIR}/usr/lib/lib*.{a,so} ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib +} diff --git a/srcpkgs/libgksu/template b/srcpkgs/libgksu/template new file mode 100644 index 0000000000..d70752730f --- /dev/null +++ b/srcpkgs/libgksu/template @@ -0,0 +1,47 @@ +# Template file for 'libgksu' +pkgname=libgksu +version=2.0.12 +distfiles="http://people.debian.org/~kov/gksu/$pkgname-$version.tar.gz" +build_style=gnu_configure +configure_args="--disable-schemas-install --localstatedir=/var +--with-gconf-schema-file-dir=/usr/share/gconf/schemas --disable-gtk-doc" +short_desc="gksu authorization library" +maintainer="Juan RP " +checksum=22f9cfc3627dcb6774b9aff66c6ea6554f3b34b82bbfa2467b821e67874c3faf +long_desc=" + This library comes from the gksu program. It provides a simple API to use + su and sudo in programs that need to execute tasks as other user. It provides + X authentication facilities for running programs in an X session." + +gconf_schemas="gksu.schemas" +subpackages="$pkgname-devel" + +Add_dependency run glibc +Add_dependency run glib +Add_dependency run startup-notification +Add_dependency run libgnome-keyring +Add_dependency run libgtop +Add_dependency run gtk+ +Add_dependency run atk +Add_dependency run pango +Add_dependency run cairo +Add_dependency run freetype +Add_dependency run fontconfig +Add_dependency run GConf + +Add_dependency build pkg-config +Add_dependency build intltool +Add_dependency build glib-devel +Add_dependency build startup-notification-devel +Add_dependency build libgnome-keyring-devel +Add_dependency build libgtop-devel +Add_dependency build gtk+-devel +Add_dependency build atk-devel +Add_dependency build pango-devel +Add_dependency build cairo-devel +Add_dependency build freetype-devel +Add_dependency build fontconfig-devel +Add_dependency build GConf-devel + +Add_dependency full desktop-file-utils +Add_dependency full sudo diff --git a/xbps-src/common/mapping_shlib_binpkg.txt b/xbps-src/common/mapping_shlib_binpkg.txt index 76a2eea979..05fbb7b507 100644 --- a/xbps-src/common/mapping_shlib_binpkg.txt +++ b/xbps-src/common/mapping_shlib_binpkg.txt @@ -611,3 +611,4 @@ libpangomm-1.4.so pangomm pangomm-devel libatkmm-1.6.so gtkmm gtkmm-devel libgtkmm-2.4.so gtkmm gtkmm-devel libgdkmm-2.4.so gtkmm gtkmm-devel +libgksu2.so libgksu libgksu-devel