diff --git a/srcpkgs/busybox/template b/srcpkgs/busybox/template index ede6a53309e..f639cb35982 100644 --- a/srcpkgs/busybox/template +++ b/srcpkgs/busybox/template @@ -1,7 +1,7 @@ # Build template for 'busybox'. pkgname=busybox version=1.23.2 -revision=1 +revision=2 hostmakedepends="perl" short_desc="The Swiss Army Knife of Embedded Linux" maintainer="Juan RP " @@ -24,12 +24,12 @@ pre_build() { mv * src || true local t - for t in busybox busybox-static busybox-ntpd; do + for t in busybox busybox-static; do mkdir -p $t make -C $t CFLAGS="$(_cflags $t)" KBUILD_SRC=${wrksrc}/src \ -f ${wrksrc}/src/Makefile defconfig cp -f ${FILESDIR}/${t}.dotconfig ${t}/.config - + case "$XBPS_TARGET_MACHINE" in *-musl) sed -i -e /CONFIG_FEATURE_VI_REGEX_SEARCH/s/y/n/ \ -e /CONFIG_FEATURE_MOUNT_NFS/s/y/n/ \ @@ -45,7 +45,7 @@ pre_build() { } do_build() { local t - for t in busybox busybox-static busybox-ntpd; do + for t in busybox busybox-static; do make -C $t SKIP_STRIP=y CFLAGS="$(_cflags $t)" ${makejobs} done } @@ -60,11 +60,3 @@ busybox-static_package() { vbin busybox-static/busybox busybox.static } } - -busybox-ntpd_package() { - short_desc+=" (ntpd)" - pkg_install() { - vbin busybox-ntpd/busybox_unstripped busybox-ntpd - vsv busybox-ntpd - } -}