diff --git a/srcpkgs/netbsd-rumpkernel/template b/srcpkgs/netbsd-rumpkernel/template index d751ff1794..69ea2a4d85 100644 --- a/srcpkgs/netbsd-rumpkernel/template +++ b/srcpkgs/netbsd-rumpkernel/template @@ -1,12 +1,14 @@ # Template file for 'netbsd-rumpkernel'. pkgname=netbsd-rumpkernel -version=20130702 +version=20131206 revision=1 -hostmakedepends="cvs" +wrksrc="buildrump-${version}" short_desc="NetBSD rump kernel" maintainer="Juan RP " license="BSD" homepage="https://github.com/anttikantee/buildrump.sh" +distfiles="${SOURCEFORGE_SITE}/rumpkernel/buildrump-${version}.tar.xz" +checksum=9ee6b0657a787228c7f9a06e47a7c165d69217de02e71111286422c0587fa31c long_desc=" This package provides NetBSD kernel drivers which have been built from unmodified kernel source code as userspace libraries. Examples of @@ -18,17 +20,6 @@ long_desc=" This package enables for example userspace TCP termination and utilities to access file systems without having to mount them on the host." - -do_fetch() { - local url="git://github.com/anttikantee/buildrump.sh.git" - msg_normal "Fetching source from $url ...\n" - git clone ${url} ${pkgname}-${version} -} - -do_configure() { - CVS_PASSFILE=/dev/null ./buildrump.sh checkout -} - do_build() { ./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools ./buildrump.sh ${makejobs} -r -d ${DESTDIR}/usr build @@ -42,7 +33,7 @@ do_install() { } netbsd-rumpkernel-devel_package() { - depends="${sourcepkg}>=$version" + depends="${sourcepkg}>=${version}_${revision}" short_desc+=" - development files" pkg_install() { vmove usr/include @@ -54,6 +45,6 @@ netbsd-rumpkernel-devel_package() { netbsd-rumpkernel_package() { pkg_install() { - vmove usr + vmove all } }