2013-03-19 00:18:32 +00:00
|
|
|
# Template file for 'netbsd-rumpkernel'.
|
|
|
|
pkgname=netbsd-rumpkernel
|
2014-01-05 21:59:50 +00:00
|
|
|
version=20140103
|
2014-02-21 14:49:20 +00:00
|
|
|
revision=2
|
2013-12-06 17:29:44 +00:00
|
|
|
wrksrc="buildrump-${version}"
|
2014-02-21 14:49:20 +00:00
|
|
|
short_desc="The NetBSD rump kernel"
|
2013-03-19 00:18:32 +00:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
license="BSD"
|
|
|
|
homepage="https://github.com/anttikantee/buildrump.sh"
|
2013-12-06 17:29:44 +00:00
|
|
|
distfiles="${SOURCEFORGE_SITE}/rumpkernel/buildrump-${version}.tar.xz"
|
2014-01-05 21:59:50 +00:00
|
|
|
checksum=fac213939c1ec5d6ba183e8192cc8ab031e125955a434620eec9e9a107a32d57
|
2013-03-19 00:18:32 +00:00
|
|
|
|
2013-03-20 21:52:41 +00:00
|
|
|
do_build() {
|
|
|
|
./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
|
|
|
|
./buildrump.sh ${makejobs} -r -d ${DESTDIR}/usr build
|
2013-03-19 00:18:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
2013-03-19 00:27:07 +00:00
|
|
|
./buildrump.sh -r -V MKPICINSTALL=no -d ${DESTDIR}/usr install
|
2013-03-19 00:56:41 +00:00
|
|
|
# Set proper perms to libs.
|
|
|
|
chmod 644 ${DESTDIR}/usr/lib/*.a
|
|
|
|
chmod 755 ${DESTDIR}/usr/lib/*.so.*
|
2013-03-19 00:18:32 +00:00
|
|
|
}
|
2013-04-14 02:36:19 +00:00
|
|
|
|
|
|
|
netbsd-rumpkernel-devel_package() {
|
2013-12-06 17:29:44 +00:00
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
2013-06-03 07:44:34 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-14 02:36:19 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/share
|
|
|
|
vmove "usr/lib/*.a"
|
2013-07-02 08:00:04 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-14 02:36:19 +00:00
|
|
|
}
|
|
|
|
}
|