gc: add full include directory

Required e.g. for building asymptote.

Closes #390.

Signed-off-by: Enno Boland <gottox@voidlinux.eu>
This commit is contained in:
svenper 2018-06-25 03:05:47 +02:00 committed by Enno Boland
parent 4ee62629b2
commit 160547fc2f

View file

@ -1,7 +1,7 @@
# Template file for 'gc'
pkgname=gc
version=7.6.4
revision=1
revision=2
build_style=gnu-configure
hostmakedepends="automake pkg-config libtool"
makedepends="libatomic_ops-devel"
@ -24,6 +24,13 @@ pre_configure() {
autoreconf -fi
}
post_install() {
mkdir -p ${DESTDIR}/usr/include/gc/
mv ${wrksrc}/include/* ${DESTDIR}/usr/include/gc/
mv ${DESTDIR}/usr/include/gc/extra/* ${DESTDIR}/usr/include/
rmdir ${DESTDIR}/usr/include/gc/extra
}
gc-devel_package() {
depends="gc>=${version}_${revision}"
short_desc+=" - development files"