moving packages
This commit is contained in:
parent
815c729478
commit
41fc569409
20 changed files with 0 additions and 0 deletions
32
old/kbd/build.sh
Normal file
32
old/kbd/build.sh
Normal file
|
@ -0,0 +1,32 @@
|
|||
pkgname=kbd
|
||||
pkgver=2.4.0
|
||||
|
||||
fetch() {
|
||||
curl "https://mirrors.edge.kernel.org/pub/linux/utils/kbd/kbd-$pkgver.tar.xz" -o $pkgname-$pkgver.tar.xz
|
||||
curl "https://raw.githubusercontent.com/workman-layout/Workman/master/linux_console/workman.iso15.kmap" -o workman.map
|
||||
tar -xf $pkgname-$pkgver.tar.xz
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--build=x86_64-unknown-linux-musl \
|
||||
--host=x86_64-unknown-linux-musl \
|
||||
--disable-tests \
|
||||
--sysconfdir=/etc
|
||||
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
make install DESTDIR=$pkgdir
|
||||
install -d $pkgdir/usr/share/keymaps/i386/workman/
|
||||
install -Dm 644 ../workman.map $pkgdir/usr/share/keymaps/i386/workman/
|
||||
}
|
||||
|
||||
license() {
|
||||
cd $pkgname-$pkgver
|
||||
cat COPYING
|
||||
}
|
27
old/rawk/build.sh
Normal file
27
old/rawk/build.sh
Normal file
|
@ -0,0 +1,27 @@
|
|||
pkgname=rawk
|
||||
pkgver=master
|
||||
|
||||
fetch() {
|
||||
curl -L "https://github.com/kisom/rawk/archive/refs/heads/master.tar.gz" -o $pkgname-$pkgver.tar.xz
|
||||
tar -xf $pkgname-$pkgver.tar.xz
|
||||
cp ../cp-u.patch .
|
||||
cd $pkgname-$pkgver
|
||||
patch -p1 < ../cp-u.patch
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
PREFIX=/usr ./config.sh
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
make install PREFIX=$pkgdir/usr/
|
||||
}
|
||||
|
||||
license() {
|
||||
cd $pkgname-$pkgver
|
||||
cat LICENSE
|
||||
# cat COPYING
|
||||
}
|
20
old/rawk/cp-u.patch
Normal file
20
old/rawk/cp-u.patch
Normal file
|
@ -0,0 +1,20 @@
|
|||
--- a/rawk
|
||||
+++ b/rawk
|
||||
@@ -98,7 +98,7 @@
|
||||
|
||||
if [ -n "$stylesheet" ]; then
|
||||
mkdir -p "$target"/styles
|
||||
- cp -u "$stylesheet" "$target"/styles/style.css
|
||||
+ cp "$stylesheet" "$target"/styles/style.css
|
||||
fi
|
||||
|
||||
cd "$src_dir"
|
||||
@@ -119,7 +119,7 @@
|
||||
if [ -d "$i" ]; then
|
||||
mkdir -p "$o"
|
||||
else
|
||||
- cp -u "$i" "$o"
|
||||
+ cp "$i" "$o"
|
||||
fi
|
||||
;;
|
||||
esac
|
30
old/rsync/build.sh
Normal file
30
old/rsync/build.sh
Normal file
|
@ -0,0 +1,30 @@
|
|||
pkgname=rsync
|
||||
pkgver=3.2.3
|
||||
|
||||
fetch() {
|
||||
curl "https://download.samba.org/pub/rsync/src/rsync-3.2.3.tar.gz" -o $pkgname-$pkgver.tar.xz
|
||||
tar -xf $pkgname-$pkgver.tar.xz
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--build=x86_64-unknown-linux-musl \
|
||||
--host=x86_64-unknown-linux-musl \
|
||||
--disable-xxhash \
|
||||
--disable-zstd \
|
||||
--disable-lz4
|
||||
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
make install DESTDIR=$pkgdir
|
||||
}
|
||||
|
||||
license() {
|
||||
cd $pkgname-$pkgver
|
||||
cat COPYING
|
||||
}
|
10
old/tiny-linux-bootloader/bsect.patch
Normal file
10
old/tiny-linux-bootloader/bsect.patch
Normal file
|
@ -0,0 +1,10 @@
|
|||
--- bsect.asm
|
||||
+++ bsect.asm
|
||||
@@ -15,7 +15,6 @@
|
||||
; You should have received a copy of the GNU General Public License
|
||||
; along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
-%define DEBUG
|
||||
%include "config.inc"
|
||||
|
||||
[BITS 16]
|
15
old/tiny-linux-bootloader/build.patch
Normal file
15
old/tiny-linux-bootloader/build.patch
Normal file
|
@ -0,0 +1,15 @@
|
|||
--- build.sh
|
||||
+++ build.sh
|
||||
@@ -16,9 +16,9 @@
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
INPUT="bsect.asm"
|
||||
-OUTPUT="disk"
|
||||
-KERN="./barebones"
|
||||
-RD="./big.init"
|
||||
+OUTPUT="/tiny-linux-bootloader/disk"
|
||||
+KERN="/iglunix/isoout/vmlinuz"
|
||||
+RD="/iglunix/isoout/initramfs.img"
|
||||
|
||||
#size of kern + ramdisk
|
||||
K_SZ=`stat -c %s $KERN`
|
33
old/tiny-linux-bootloader/build.sh
Normal file
33
old/tiny-linux-bootloader/build.sh
Normal file
|
@ -0,0 +1,33 @@
|
|||
pkgname=tiny-linux-bootloader
|
||||
pkgver=master
|
||||
|
||||
fetch() {
|
||||
curl -L "https://github.com/owenson/tiny-linux-bootloader/archive/master.tar.gz" -o $pkgname-$pkgver.tar.xz
|
||||
tar -xf $pkgname-$pkgver.tar.xz
|
||||
cd $pkgname-$pkgver
|
||||
patch -p1 < ../../build.patch
|
||||
patch -p1 < ../../bsect.patch
|
||||
patch -p1 < ../../remove-dead.patch
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
|
||||
rm -rf /tiny-linux-bootloader
|
||||
mkdir /tiny-linux-bootloader
|
||||
CURR_DIR=$(pwd)
|
||||
|
||||
cd ./../../../../
|
||||
./geninitrd.sh
|
||||
|
||||
cd $CURR_DIR
|
||||
./build.sh
|
||||
|
||||
cd ./../../../../
|
||||
./createimg.sh
|
||||
}
|
||||
|
||||
license() {
|
||||
cd $pkgname-$pkgver
|
||||
cat LICENSE
|
||||
}
|
5
old/tiny-linux-bootloader/fstab
Normal file
5
old/tiny-linux-bootloader/fstab
Normal file
|
@ -0,0 +1,5 @@
|
|||
# information about the filesystems.
|
||||
# See fstab(5) for details.
|
||||
|
||||
# <file system> <dir> <type> <options> <dump> <pass>
|
||||
/dev/sda1 / ext4 rw,relatime 0 1
|
11
old/tiny-linux-bootloader/remove-dead.patch
Normal file
11
old/tiny-linux-bootloader/remove-dead.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- a/bsect.asm
|
||||
+++ b/bsect.asm
|
||||
@@ -135,7 +135,7 @@
|
||||
.loop:
|
||||
cmp edx, 127*512
|
||||
jl loader.part_2
|
||||
- jz loader.finish
|
||||
+; jz loader.finish
|
||||
|
||||
mov ax, 127 ;count
|
||||
xor bx, bx ; offset
|
64
old/toolchain-aarch64/build.sh
Normal file
64
old/toolchain-aarch64/build.sh
Normal file
|
@ -0,0 +1,64 @@
|
|||
pkgname=toolchain-aarch64
|
||||
pkgver=12.0.0
|
||||
|
||||
fetch() {
|
||||
curl -L "https://github.com/llvm/llvm-project/releases/download/llvmorg-$pkgver/llvm-project-$pkgver.src.tar.xz" -o llvm-$pkgver.tar.gz
|
||||
curl "https://musl.libc.org/releases/musl-1.2.2.tar.gz" -o musl-1.2.2.tar.gz
|
||||
tar -xf llvm-$pkgver.tar.gz
|
||||
tar -xf musl-1.2.2.tar.gz
|
||||
mv llvm-project-$pkgver.src llvm-$pkgver
|
||||
mkdir llvm-$pkgver/build-compiler-rt
|
||||
mkdir sysroot
|
||||
}
|
||||
|
||||
build() {
|
||||
export pkgdir=$(pwd)/sysroot
|
||||
cd llvm-$pkgver
|
||||
cd build-compiler-rt
|
||||
cmake -G Ninja ../compiler-rt \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr/aarch64-linux-musl \
|
||||
-DCMAKE_INSTALL_LIBDIR=lib \
|
||||
-DCMAKE_C_COMPILER=clang \
|
||||
-DCMAKE_C_COMPILER_TARGET=aarch64-linux-musl \
|
||||
-DCMAKE_ASM_COMPILER=clang \
|
||||
-DCMAKE_ASM_COMPILER_TARGET=aarch64-linux-musl \
|
||||
-DCOMPILER_RT_USE_BUILTINS_LIBRARY=ON \
|
||||
-DCOMPILER_RT_BUILD_BUILTINS=ON \
|
||||
-DCOMPILER_RT_DEFAULT_TARGET_ONLY=OFF \
|
||||
-DCOMPILER_RT_DEFAULT_TARGET_TRIPLE=aarch64-linux-musl \
|
||||
-DCOMPILER_RT_INCLUDE_TESTS=OFF \
|
||||
-DCOMPILER_RT_BUILD_SANITIZERS=OFF \
|
||||
-DCOMPILER_RT_BUILD_XRAY=OFF \
|
||||
-DCOMPILER_RT_BUILD_MEMPROF=OFF \
|
||||
-DCOMPILER_RT_BUILD_PROFILE=OFF \
|
||||
-DCOMPILER_RT_INCLUDE_TESTS=OFF \
|
||||
-DCOMPILER_RT_BUILD_LIBFUZZER=OFF \
|
||||
-DCMAKE_C_FLAGS='-nostdlib' \
|
||||
-DCMAKE_ASM_FLAGS='-nostdlib' \
|
||||
-DCAN_TARGET_aarch64=YES \
|
||||
-DLIBCXX_HAS_MUSL_LIBC=ON \
|
||||
-DLLVM_CONFIG_PATH=/usr/bin/llvm-config
|
||||
|
||||
DESTDIR=$pkgdir samu install
|
||||
cd ../..
|
||||
|
||||
cd musl-1.2.2
|
||||
CFLAGS="--sysroot=$pkgdir/usr/aarch64-linux-musl/ --target=aarch64-unknown-linux-musl" AR=ar LIBCC=$pkgdir/usr/aarch64-linux-musl/lib/linux/libclang_rt.builtins-aarch64.a ./configure \
|
||||
--prefix=/usr/aarch64-linux-musl \
|
||||
--target=aarch64-unknown-linux-musl \
|
||||
--enable-wrappers=no
|
||||
|
||||
gmake
|
||||
gmake install DESTDIR=$pkgdir
|
||||
}
|
||||
|
||||
package() {
|
||||
mv sysroot/* $pkgdir
|
||||
}
|
||||
|
||||
license() {
|
||||
cd $pkgname-$pkgver
|
||||
cat LICENSE
|
||||
# cat COPYING
|
||||
}
|
37
old/util-linux/build.sh
Normal file
37
old/util-linux/build.sh
Normal file
|
@ -0,0 +1,37 @@
|
|||
pkgver=2.36.2
|
||||
pkgname=util-linux
|
||||
pkgrel=1
|
||||
|
||||
fetch() {
|
||||
curl "https://mirrors.edge.kernel.org/pub/linux/utils/$pkgname/v2.36/$pkgname-$pkgver.tar.xz" -o $pkgname-$pkgver.tar.xz
|
||||
tar -xf $pkgname-$pkgver.tar.xz
|
||||
cd $pkgname-$pkgver
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--build=x86_64-unknown-linux-musl \
|
||||
--host=x86_64-unknown-linux-musl \
|
||||
--disable-all-programs \
|
||||
--enable-libsmartcols \
|
||||
--enable-libuuid \
|
||||
--enable-libfdisk \
|
||||
--enable-fdisks
|
||||
|
||||
|
||||
make LDFLAGS="-lterminfo"
|
||||
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
make install DESTDIR=$pkgdir
|
||||
}
|
||||
|
||||
|
||||
license() {
|
||||
cd $pkgname-$pkgver
|
||||
cat COPYING
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue