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