Changed from / to /usr where appropriate
This commit is contained in:
parent
f849b3f7ba
commit
3182a6f943
20 changed files with 297 additions and 105 deletions
29
pkgs/busybox/build.sh
Normal file
29
pkgs/busybox/build.sh
Normal file
|
@ -0,0 +1,29 @@
|
|||
pkgver=1.33.0
|
||||
pkgname=busybox
|
||||
bad=gmake
|
||||
pkgrel=1
|
||||
|
||||
fetch() {
|
||||
curl "https://busybox.net/downloads/busybox-1.33.0.tar.bz2" -o $pkgname-$pkgver.tar.gz
|
||||
tar -xf $pkgname-$pkgver.tar.gz
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
gmake HOSTCC=cc CC=cc CFLAGS=-O0 defconfig
|
||||
gmake HOSTCC=cc CC=cc CFLAGS=-O0
|
||||
gmake HOSTCC=cc CC=cc CFLAGS=-O0 install
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
install -d $pkgdir
|
||||
cp -r ./_install/* $pkgdir
|
||||
rm $pkgdir/bin/ln
|
||||
rm $pkgdir/usr/bin/install
|
||||
}
|
||||
|
||||
license() {
|
||||
cd $pkgname-$pkgver
|
||||
cat LICENSE
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue