mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 02:42:56 +02:00
busybox: removed busybox-ntpd from template
This commit is contained in:
parent
4ca121e013
commit
80e1cc6778
1 changed files with 4 additions and 12 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Build template for 'busybox'.
|
# Build template for 'busybox'.
|
||||||
pkgname=busybox
|
pkgname=busybox
|
||||||
version=1.23.2
|
version=1.23.2
|
||||||
revision=1
|
revision=2
|
||||||
hostmakedepends="perl"
|
hostmakedepends="perl"
|
||||||
short_desc="The Swiss Army Knife of Embedded Linux"
|
short_desc="The Swiss Army Knife of Embedded Linux"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
|
@ -24,12 +24,12 @@ pre_build() {
|
||||||
mv * src || true
|
mv * src || true
|
||||||
|
|
||||||
local t
|
local t
|
||||||
for t in busybox busybox-static busybox-ntpd; do
|
for t in busybox busybox-static; do
|
||||||
mkdir -p $t
|
mkdir -p $t
|
||||||
make -C $t CFLAGS="$(_cflags $t)" KBUILD_SRC=${wrksrc}/src \
|
make -C $t CFLAGS="$(_cflags $t)" KBUILD_SRC=${wrksrc}/src \
|
||||||
-f ${wrksrc}/src/Makefile defconfig
|
-f ${wrksrc}/src/Makefile defconfig
|
||||||
cp -f ${FILESDIR}/${t}.dotconfig ${t}/.config
|
cp -f ${FILESDIR}/${t}.dotconfig ${t}/.config
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
*-musl) sed -i -e /CONFIG_FEATURE_VI_REGEX_SEARCH/s/y/n/ \
|
*-musl) sed -i -e /CONFIG_FEATURE_VI_REGEX_SEARCH/s/y/n/ \
|
||||||
-e /CONFIG_FEATURE_MOUNT_NFS/s/y/n/ \
|
-e /CONFIG_FEATURE_MOUNT_NFS/s/y/n/ \
|
||||||
|
@ -45,7 +45,7 @@ pre_build() {
|
||||||
}
|
}
|
||||||
do_build() {
|
do_build() {
|
||||||
local t
|
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}
|
make -C $t SKIP_STRIP=y CFLAGS="$(_cflags $t)" ${makejobs}
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
@ -60,11 +60,3 @@ busybox-static_package() {
|
||||||
vbin busybox-static/busybox busybox.static
|
vbin busybox-static/busybox busybox.static
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
busybox-ntpd_package() {
|
|
||||||
short_desc+=" (ntpd)"
|
|
||||||
pkg_install() {
|
|
||||||
vbin busybox-ntpd/busybox_unstripped busybox-ntpd
|
|
||||||
vsv busybox-ntpd
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue