From 0b34c3710f88dc5230d17d955ff8370103706995 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 24 Aug 2013 16:25:58 +0200 Subject: [PATCH] gc: cross build support; move so symlinks to -devel pkg. --- srcpkgs/gc/template | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/srcpkgs/gc/template b/srcpkgs/gc/template index 3fe3115bf3..97ef5b3a06 100644 --- a/srcpkgs/gc/template +++ b/srcpkgs/gc/template @@ -1,9 +1,10 @@ # Template file for 'gc' pkgname=gc version=7.2d -revision=1 +revision=2 wrksrc=gc-7.2 build_style=gnu-configure +hostmakedepends="pkg-config automake libtool" short_desc="A garbage collector for C and C++" maintainer="Juan RP " homepage="http://www.hpl.hp.com/personal/Hans_Boehm/gc/" @@ -18,13 +19,18 @@ long_desc=" recycles memory when it determines that it can no longer be otherwise accessed." +pre_configure() { + autoreconf -fi +} + gc-devel_package() { depends="gc>=$version" - short_desc="${short_desc} - development files" + short_desc+=" - development files" pkg_install() { vmove usr/include vmove usr/share vmove "usr/lib/*.a" + vmove "usr/lib/*.so" } }