diff --git a/srcpkgs/netbsd-rumpkernel-devel b/srcpkgs/netbsd-rumpkernel-devel new file mode 120000 index 0000000000..7fb41cc1b3 --- /dev/null +++ b/srcpkgs/netbsd-rumpkernel-devel @@ -0,0 +1 @@ +netbsd-rumpkernel \ No newline at end of file diff --git a/srcpkgs/netbsd-rumpkernel/netbsd-rumpkernel-devel.template b/srcpkgs/netbsd-rumpkernel/netbsd-rumpkernel-devel.template new file mode 100644 index 0000000000..747e86cc6a --- /dev/null +++ b/srcpkgs/netbsd-rumpkernel/netbsd-rumpkernel-devel.template @@ -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 +} diff --git a/srcpkgs/netbsd-rumpkernel/template b/srcpkgs/netbsd-rumpkernel/template index b6ce7cf9bc..0fa5c0bfad 100644 --- a/srcpkgs/netbsd-rumpkernel/template +++ b/srcpkgs/netbsd-rumpkernel/template @@ -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 " 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.*