netbsd-rumpkernel: cross build support; misc tweaks.
This commit is contained in:
parent
ccf848b4c8
commit
fa76bdb66f
1 changed files with 9 additions and 12 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'netbsd-rumpkernel'.
|
# Template file for 'netbsd-rumpkernel'.
|
||||||
pkgname=netbsd-rumpkernel
|
pkgname=netbsd-rumpkernel
|
||||||
version=20130318
|
version=20130320
|
||||||
revision=3
|
revision=1
|
||||||
makedepends="cvs"
|
makedepends="cvs"
|
||||||
short_desc="NetBSD rump kernel"
|
short_desc="NetBSD rump kernel"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
|
@ -24,19 +24,16 @@ noextract=yes
|
||||||
do_fetch() {
|
do_fetch() {
|
||||||
local url="git://github.com/anttikantee/buildrump.sh.git"
|
local url="git://github.com/anttikantee/buildrump.sh.git"
|
||||||
msg_normal "Fetching source from $url ...\n"
|
msg_normal "Fetching source from $url ...\n"
|
||||||
git clone ${url} ${pkgname}-${version}
|
git clone -bcrossbuild ${url} ${pkgname}-${version}
|
||||||
|
}
|
||||||
|
|
||||||
|
do_configure() {
|
||||||
|
CVS_PASSFILE=/dev/null ./buildrump.sh checkout
|
||||||
}
|
}
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
vmkdir usr
|
./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
|
||||||
|
./buildrump.sh ${makejobs} -r -d ${DESTDIR}/usr build
|
||||||
CVS_PASSFILE=/dev/null ./buildrump.sh checkout
|
|
||||||
if [ -n "$XBPS_CROSS_BUILD" ]; then
|
|
||||||
env CC="gcc" LD="ld" AS="as" RANLIB="ranlib" ./buildrump.sh tools
|
|
||||||
else
|
|
||||||
./buildrump.sh -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
|
|
||||||
fi
|
|
||||||
./buildrump.sh -r -d ${DESTDIR}/usr build
|
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue