xbps-devel: enable virtualpkg by default.
This commit is contained in:
parent
eb6f01fbef
commit
bcc7ae0315
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'xbps'
|
||||
pkgname=xbps-devel
|
||||
version="$(date +%Y%m%d)"
|
||||
version="1.$(date +%Y%m%d)"
|
||||
build_style=configure
|
||||
configure_args="--prefix=/ --includedir=/usr/include
|
||||
--datadir=/usr/share --mandir=/usr/share/man --with-pie"
|
||||
|
@ -43,6 +43,9 @@ do_fetch() {
|
|||
}
|
||||
|
||||
post_install() {
|
||||
vinstall ${FILESDIR}/virtualpkg.d/xbps-devel.plist \
|
||||
vinstall ${FILESDIR}/virtualpkg.d/${pkgname}.plist \
|
||||
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 "sbin/*.static" sbin
|
||||
vmove "lib/*.a" usr/lib
|
||||
vinstall ${FILESDIR}/virtualpkg.d/xbps-devel-static.plist \
|
||||
vinstall ${FILESDIR}/virtualpkg.d/${pkgname}.plist \
|
||||
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…
Reference in New Issue