Added glibr and dropbear
This commit is contained in:
parent
35b5baef6f
commit
a16ad10c47
2 changed files with 63 additions and 0 deletions
40
pkgs/dropbear/build.sh
Normal file
40
pkgs/dropbear/build.sh
Normal file
|
@ -0,0 +1,40 @@
|
|||
pkgname=dropbear
|
||||
pkgver=2020.81
|
||||
bad=gmake
|
||||
ext=doc
|
||||
|
||||
fetch() {
|
||||
curl "https://matt.ucc.asn.au/dropbear/releases/dropbear-2020.81.tar.bz2" -o $pkgname-$pkgver.tar.bz2
|
||||
tar -xf $pkgname-$pkgver.tar.bz2
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--build=x86_64-unknown-linux-musl \
|
||||
--host=x86_64-unknown-linux-musl
|
||||
|
||||
gmake
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
gmake install DESTDIR=$pkgdir
|
||||
ln -sr $pkgdir/usr/sbin/dropbear $pkgdir/usr/sbin/sshd
|
||||
ln -sr $pkgdir/usr/bin/dbclient $pkgdir/usr/bin/ssh
|
||||
rm -r $pkgdir/usr/share
|
||||
}
|
||||
|
||||
package_doc() {
|
||||
cd $pkgname-$pkgver
|
||||
gmake install DESTDIR=$pkgdir
|
||||
rm -r $pkgdir/usr/bin
|
||||
rm -r $pkgdir/usr/sbin
|
||||
}
|
||||
|
||||
license() {
|
||||
cd $pkgname-$pkgver
|
||||
cat LICENSE
|
||||
# cat COPYING
|
||||
}
|
23
pkgs/glibr/build.sh
Normal file
23
pkgs/glibr/build.sh
Normal file
|
@ -0,0 +1,23 @@
|
|||
pkgname=glibr
|
||||
pkgver=main
|
||||
|
||||
fetch() {
|
||||
curl -L "https://github.com/iglunix/glibr/archive/main.tar.gz" -o $pkgname-$pkgver.tar.gz
|
||||
tar -xf $pkgname-$pkgver.tar.gz
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
make install PREFIX=/usr DESTDIR=$pkgdir
|
||||
}
|
||||
|
||||
license() {
|
||||
cd $pkgname-$pkgver
|
||||
cat LICENSE
|
||||
# cat COPYING
|
||||
}
|
Loading…
Reference in a new issue