netbsd-rumpkernel: update to today's git; add -devel subpkg.

This commit is contained in:
Juan RP 2013-04-04 00:11:58 +02:00
parent c42d535fe6
commit 155a462409
3 changed files with 15 additions and 4 deletions

View file

@ -0,0 +1 @@
netbsd-rumpkernel

View file

@ -0,0 +1,10 @@
# Template file for 'netbsd-rumpkernel-devel'.
#
depends="${sourcepkg}>=$version"
short_desc="${short_desc} -- development files"
do_install() {
vmove usr/include usr
vmove usr/share usr
vmove "usr/lib/*.a" usr/lib
}

View file

@ -1,8 +1,8 @@
# Template file for 'netbsd-rumpkernel'.
pkgname=netbsd-rumpkernel
version=20130321
version=20130403
revision=1
hostmakedepends="which cvs"
hostmakedepends="cvs"
short_desc="NetBSD rump kernel"
maintainer="Juan RP <xtraeme@gmail.com>"
license="BSD"
@ -20,6 +20,7 @@ long_desc="
nofetch=yes
noextract=yes
subpackages="${pkgname}-devel"
do_fetch() {
local url="git://github.com/anttikantee/buildrump.sh.git"
@ -38,8 +39,7 @@ do_build() {
do_install() {
./buildrump.sh -r -V MKPICINSTALL=no -d ${DESTDIR}/usr install
# Move man to correct dir.
vmove usr/man usr/share
# Set proper perms to libs.
chmod 644 ${DESTDIR}/usr/lib/*.a
chmod 755 ${DESTDIR}/usr/lib/*.so.*