klibc: update to 2.0.12.
This commit is contained in:
parent
4d56e08fee
commit
3458e7f709
|
@ -0,0 +1,34 @@
|
|||
#!/bin/sh
|
||||
|
||||
prereqs()
|
||||
{
|
||||
if [ "${BUSYBOX}" = "n" ] || [ ! -f "${BUSYBOX_EXECUTABLE}" ]; then
|
||||
echo ''
|
||||
else
|
||||
# Ensure busybox installs all its commands before
|
||||
# checking what we should provide
|
||||
echo zz-busybox
|
||||
fi
|
||||
}
|
||||
|
||||
case $1 in
|
||||
prereqs)
|
||||
prereqs
|
||||
exit 0
|
||||
;;
|
||||
esac
|
||||
|
||||
for src in /usr/lib/klibc/bin/*; do
|
||||
command="${src##*/}"
|
||||
case "$src" in
|
||||
gzip | kinit | zcat)
|
||||
;;
|
||||
*)
|
||||
# Don't install commands that already exist in /bin or /sbin
|
||||
if ! [ -e "${DESTDIR}/sbin/$command" ]; then
|
||||
cp -pnL "$src" "${DESTDIR}/bin"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
done
|
||||
cp -pL /lib/klibc-*.so "${DESTDIR}/lib"
|
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'klibc'
|
||||
pkgname=klibc
|
||||
version=2.0.11
|
||||
version=2.0.12
|
||||
revision=1
|
||||
hostmakedepends="perl"
|
||||
makedepends="kernel-libc-headers"
|
||||
|
@ -9,7 +9,7 @@ maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
|
|||
license="GPL-2.0-only"
|
||||
homepage="https://git.kernel.org/pub/scm/libs/klibc/klibc.git/"
|
||||
distfiles="https://git.kernel.org/pub/scm/libs/klibc/klibc.git/snapshot/klibc-${version}.tar.gz"
|
||||
checksum=bb9c40fb9b20335fbdc44904d7c579d43e39cb0b59252e1a56ce67194fb38541
|
||||
checksum=01cc9dc32453b664c998d811fb67be96f842740a3fedfaf746bac2bd394021cd
|
||||
|
||||
_make() {
|
||||
local _arch _mkflags=
|
||||
|
@ -105,6 +105,8 @@ do_install() {
|
|||
else
|
||||
vbin klcc/${XBPS_TRIPLET/unknown-/}-klcc
|
||||
fi
|
||||
vinstall ${FILESDIR}/initramfs-tools-hooks 755 \
|
||||
usr/share/initramfs-tools/hooks klibc
|
||||
}
|
||||
|
||||
klibc-devel_package() {
|
||||
|
|
Loading…
Reference in New Issue