gc: cross build support; move so symlinks to -devel pkg.
This commit is contained in:
parent
afa095f986
commit
0b34c3710f
1 changed files with 8 additions and 2 deletions
|
@ -1,9 +1,10 @@
|
||||||
# Template file for 'gc'
|
# Template file for 'gc'
|
||||||
pkgname=gc
|
pkgname=gc
|
||||||
version=7.2d
|
version=7.2d
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc=gc-7.2
|
wrksrc=gc-7.2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
|
hostmakedepends="pkg-config automake libtool"
|
||||||
short_desc="A garbage collector for C and C++"
|
short_desc="A garbage collector for C and C++"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
homepage="http://www.hpl.hp.com/personal/Hans_Boehm/gc/"
|
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
|
recycles memory when it determines that it can no longer be otherwise
|
||||||
accessed."
|
accessed."
|
||||||
|
|
||||||
|
pre_configure() {
|
||||||
|
autoreconf -fi
|
||||||
|
}
|
||||||
|
|
||||||
gc-devel_package() {
|
gc-devel_package() {
|
||||||
depends="gc>=$version"
|
depends="gc>=$version"
|
||||||
short_desc="${short_desc} - development files"
|
short_desc+=" - development files"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/include
|
vmove usr/include
|
||||||
vmove usr/share
|
vmove usr/share
|
||||||
vmove "usr/lib/*.a"
|
vmove "usr/lib/*.a"
|
||||||
|
vmove "usr/lib/*.so"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue