gc: cross build support; move so symlinks to -devel pkg.

This commit is contained in:
Juan RP 2013-08-24 16:25:58 +02:00
parent afa095f986
commit 0b34c3710f
1 changed files with 8 additions and 2 deletions

View File

@ -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 <xtraeme@gmail.com>"
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"
}
}