From fc8d3a72b02d1d4113ab9c66402a1eaaa0b68908 Mon Sep 17 00:00:00 2001 From: str1ngs Date: Sun, 26 Jun 2011 16:44:38 -0700 Subject: [PATCH] gc: new package part of inkscape depends --- srcpkgs/gc-devel | 1 + srcpkgs/gc/depends | 2 ++ srcpkgs/gc/gc-devel.template | 13 +++++++++++++ srcpkgs/gc/template | 24 ++++++++++++++++++++++++ 4 files changed, 40 insertions(+) create mode 120000 srcpkgs/gc-devel create mode 100644 srcpkgs/gc/depends create mode 100644 srcpkgs/gc/gc-devel.template create mode 100644 srcpkgs/gc/template diff --git a/srcpkgs/gc-devel b/srcpkgs/gc-devel new file mode 120000 index 0000000000..b290b970ad --- /dev/null +++ b/srcpkgs/gc-devel @@ -0,0 +1 @@ +gc \ No newline at end of file diff --git a/srcpkgs/gc/depends b/srcpkgs/gc/depends new file mode 100644 index 0000000000..b586f5985d --- /dev/null +++ b/srcpkgs/gc/depends @@ -0,0 +1,2 @@ +abi_depends=">=7.1" +api_depends="${abi_depends}" diff --git a/srcpkgs/gc/gc-devel.template b/srcpkgs/gc/gc-devel.template new file mode 100644 index 0000000000..157af307fa --- /dev/null +++ b/srcpkgs/gc/gc-devel.template @@ -0,0 +1,13 @@ +# Template file for 'gc-devel'. +# +short_desc="${short_desc} - development files" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +do_install() +{ + mkdir -p ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/{include,share} ${DESTDIR}/usr + mv ${SRCPKGDESTDIR}/usr/lib/*.a ${DESTDIR}/usr/lib +} diff --git a/srcpkgs/gc/template b/srcpkgs/gc/template new file mode 100644 index 0000000000..2c4d686c99 --- /dev/null +++ b/srcpkgs/gc/template @@ -0,0 +1,24 @@ +# Template file for 'gc' +pkgname=gc +version=7.1 +distfiles="http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/gc-$version.tar.gz" +build_style=gnu_configure +short_desc="A garbage collector for C and C++" +maintainer="Mike Rosset " +homepage="http://www.hpl.hp.com/personal/Hans_Boehm/gc/" +license="GPL-2" +checksum=e3cef6028fe3efe7de3bcf4107c880eae50b3ee79841450d885467c09bcebf30 +long_desc=" + The Boehm-Demers-Weiser conservative garbage collector can be used as a + garbage collecting replacement for C malloc or C++ new. It allows you to + allocate memory basically as you normally would, without explicitly + deallocating memory that is no longer useful. The collector automatically + recycles memory when it determines that it can no longer be otherwise + accessed. +" + +subpackages="gc-devel" + +Add_dependency run libgcc +Add_dependency run glibc +Add_dependency build glibc-devel