mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 00:42:58 +02:00
xbps-devel: enable virtualpkg by default.
This commit is contained in:
parent
eb6f01fbef
commit
bcc7ae0315
2 changed files with 9 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'xbps'
|
# Template file for 'xbps'
|
||||||
pkgname=xbps-devel
|
pkgname=xbps-devel
|
||||||
version="$(date +%Y%m%d)"
|
version="1.$(date +%Y%m%d)"
|
||||||
build_style=configure
|
build_style=configure
|
||||||
configure_args="--prefix=/ --includedir=/usr/include
|
configure_args="--prefix=/ --includedir=/usr/include
|
||||||
--datadir=/usr/share --mandir=/usr/share/man --with-pie"
|
--datadir=/usr/share --mandir=/usr/share/man --with-pie"
|
||||||
|
@ -43,6 +43,9 @@ do_fetch() {
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vinstall ${FILESDIR}/virtualpkg.d/xbps-devel.plist \
|
vinstall ${FILESDIR}/virtualpkg.d/${pkgname}.plist \
|
||||||
644 etc/xbps/virtualpkg.d
|
644 etc/xbps/virtualpkg.d
|
||||||
|
vmkdir etc/xbps/virtualpkg.d.wants
|
||||||
|
cd ${DESTDIR}/etc/xbps/virtualpkg.d.wants && \
|
||||||
|
ln -sf ../virtualpkg.d/${pkgname}.plist .
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,6 +16,9 @@ do_install()
|
||||||
vmove usr/include usr
|
vmove usr/include usr
|
||||||
vmove "sbin/*.static" sbin
|
vmove "sbin/*.static" sbin
|
||||||
vmove "lib/*.a" usr/lib
|
vmove "lib/*.a" usr/lib
|
||||||
vinstall ${FILESDIR}/virtualpkg.d/xbps-devel-static.plist \
|
vinstall ${FILESDIR}/virtualpkg.d/${pkgname}.plist \
|
||||||
644 etc/xbps/virtualpkg.d
|
644 etc/xbps/virtualpkg.d
|
||||||
|
vmkdir etc/xbps/virtualpkg.d.wants
|
||||||
|
cd ${DESTDIR}/etc/xbps/virtualpkg.d.wants && \
|
||||||
|
ln -sf ../virtualpkg.d/${pkgname}.plist .
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue