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:
parent
4ee62629b2
commit
160547fc2f
1 changed files with 8 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue