xbps-devel: enable virtualpkg by default.

This commit is contained in:
Juan RP 2011-10-20 18:14:29 +02:00
parent eb6f01fbef
commit bcc7ae0315
2 changed files with 9 additions and 3 deletions

View File

@ -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 .
}

View File

@ -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 .
}