From ac75e3c305965e5f4f788903022dd50bfa3f674a Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 12 Apr 2011 08:57:57 +0200 Subject: [PATCH] Added libpipeline-1.2.0 build template. --- srcpkgs/libpipeline-devel | 1 + srcpkgs/libpipeline/depends | 2 ++ srcpkgs/libpipeline/libpipeline-devel.template | 17 +++++++++++++++++ srcpkgs/libpipeline/template | 17 +++++++++++++++++ 4 files changed, 37 insertions(+) create mode 120000 srcpkgs/libpipeline-devel create mode 100644 srcpkgs/libpipeline/depends create mode 100644 srcpkgs/libpipeline/libpipeline-devel.template create mode 100644 srcpkgs/libpipeline/template diff --git a/srcpkgs/libpipeline-devel b/srcpkgs/libpipeline-devel new file mode 120000 index 0000000000..a400402579 --- /dev/null +++ b/srcpkgs/libpipeline-devel @@ -0,0 +1 @@ +libpipeline \ No newline at end of file diff --git a/srcpkgs/libpipeline/depends b/srcpkgs/libpipeline/depends new file mode 100644 index 0000000000..638e6380c1 --- /dev/null +++ b/srcpkgs/libpipeline/depends @@ -0,0 +1,2 @@ +abi_depends=">=1.2.0" +api_depends="${abi_depends}" diff --git a/srcpkgs/libpipeline/libpipeline-devel.template b/srcpkgs/libpipeline/libpipeline-devel.template new file mode 100644 index 0000000000..edf6adb6a5 --- /dev/null +++ b/srcpkgs/libpipeline/libpipeline-devel.template @@ -0,0 +1,17 @@ +# Template file for 'libpipeline-devel'. +# +short_desc="${short_desc} - development files" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +Add_dependency run glibc-devel +Add_dependency run libpipeline + +do_install() +{ + mkdir -p ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr + mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/share ${DESTDIR}/usr +} diff --git a/srcpkgs/libpipeline/template b/srcpkgs/libpipeline/template new file mode 100644 index 0000000000..1d56f9461a --- /dev/null +++ b/srcpkgs/libpipeline/template @@ -0,0 +1,17 @@ +# Template file for 'libpipeline' +pkgname=libpipeline +version=1.2.0 +distfiles="${NONGNU_SITE}/$pkgname/$pkgname-$version.tar.gz" +build_style=gnu_configure +short_desc="A pipeline manipulation library" +maintainer="Juan RP " +checksum=b1c83ad98fb58542594ba631a4e6c70cdb090bb6798e6eb26afe9cc39babbb8e +long_desc=" + libpipeline is a C library for setting up and running pipelines of + processes, without needing to involve shell command-line parsing which is + often error-prone and insecure. This alleviates programmers of the need to + laboriously construct pipelines using lower-level primitives such as fork(2) + and execve(2)." + +subpackages="$pkgname-devel" +Add_dependency run glibc