34 lines
969 B
Text
34 lines
969 B
Text
# Template file for 'netbsd-rumpkernel'.
|
|
pkgname=netbsd-rumpkernel
|
|
version=20140317
|
|
revision=1
|
|
wrksrc="buildrump-${version}"
|
|
short_desc="The NetBSD rump kernel"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
license="BSD"
|
|
homepage="https://github.com/anttikantee/buildrump.sh"
|
|
distfiles="${SOURCEFORGE_SITE}/rumpkernel/buildrump-${version}.tar.xz"
|
|
checksum=0e198be8d93142523a3fb15ce70be9aead9ff2687d9582c8916d7590979509ed
|
|
|
|
do_build() {
|
|
./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
|
|
./buildrump.sh ${makejobs} -r -d ${DESTDIR}/usr build
|
|
}
|
|
|
|
do_install() {
|
|
./buildrump.sh -r -V MKPICINSTALL=no -d ${DESTDIR}/usr install
|
|
# Set proper perms to libs.
|
|
chmod 644 ${DESTDIR}/usr/lib/*.a
|
|
chmod 755 ${DESTDIR}/usr/lib/*.so.*
|
|
}
|
|
|
|
netbsd-rumpkernel-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/share
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|