diff --git a/srcpkgs/busybox-initramfs/template b/srcpkgs/busybox-initramfs/template index e9589ed2a5..a87427f30b 100644 --- a/srcpkgs/busybox-initramfs/template +++ b/srcpkgs/busybox-initramfs/template @@ -1,14 +1,12 @@ # Build template for 'busybox-initramfs'. pkgname=busybox-initramfs -version=1.18.0 +version=1.18.2 wrksrc=busybox-$version distfiles="http://www.busybox.net/downloads/busybox-$version.tar.bz2" -build_style=gnu_makefile -make_install_args=" -CONFIG_PREFIX=${XBPS_DESTDIR}/${pkgname}-${version}/usr/lib/${pkgname}" +build_style=custom-install short_desc="The Swiss Army Knife of Embedded Linux for initial ramdisks" maintainer="Juan RP " -checksum=3a9d5e6929045440ec3d0c9987376cbbb78e98886d6c5fa58fc2306d2662eb00 +checksum=aa7e1cec8cd9c7f4e56098b9e4bb2ab5d593d5a35f766ad9e6a312289bf57080 long_desc=" BusyBox combines tiny versions of many common UNIX utilities into a single small executable. It provides replacements for most of the utilities you @@ -23,9 +21,13 @@ long_desc=" base_chroot=yes Add_dependency run glibc -pre_build() +do_build() { cp -f ${FILESDIR}/dotconfig ${wrksrc}/.config - # gen_build_files.sh doesn't work with dash, so force GNU bash! - sed -i -e "s/^#!\/bin\/sh$/#!\/bin\/bash/" ${wrksrc}/scripts/gen_build_files.sh + make ${makejobs} +} + +do_install() +{ + make CONFIG_PREFIX=${DESTDIR}/usr/lib/${pkgname} install }