relocate all packages with new group names from gentoo

This commit is contained in:
sulincix committed 2022-11-20 07:45:54 +00:00
1 parent 20645c750a
commit e133dbe26f
54 files changed
+42 -40

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
#!/bin/busybox ash
/bin/busybox mkdir -p /var/lib/ymp/sysconf/busybox/
if /bin/busybox [ ! -f /var/lib/ymp/sysconf/busybox/postinstall.done ] ; then
/bin/busybox --install -s /bin
/bin/busybox install /bin/busybox /bin/su
/bin/busybox chmod u+s /bin/su
/bin/busybox date > /var/lib/ymp/sysconf/busybox.postinst.done
fi
+37
View File
@@ -0,0 +1,37 @@
#!/bin/bash
name=busybox
version=1.35.0
release=1
url='https://busybox.net'
description='BusyBox is a software suite that provides several Unix utilities in a single executable file.'
email='parduscix@yandex.ru'
maintainer='sulincix'
license=('GPLv3')
arch=(x86_64)
source=("https://busybox.net/downloads/busybox-$version.tar.bz2"
"busybox.sysconf"
)
md5sums=("585949b1dd4292b604b7d199866e9913"
"SKIP"
)
group=(sys.base)
cd $name-$version
setup(){
make defconfig
sed -i "s|.*CONFIG_STATIC_LIBGCC .*|CONFIG_STATIC_LIBGCC=y|" .config
sed -i "s|.*CONFIG_STATIC .*|CONFIG_STATIC=y|" .config
}
build(){
make -j`nproc`
}
package(){
mkdir -p ${DESTDIR}/bin/ ${DESTDIR}/etc/sysconf.d
install busybox ${DESTDIR}/bin/busybox
install ../busybox.sysconf ${DESTDIR}/etc/sysconf.d/busybox
}