bye bye libressl

This commit is contained in:
Ella-0 2021-09-11 08:24:20 +00:00
parent 879ade0254
commit 4f387bcb0b
47 changed files with 963 additions and 37 deletions

51
gui/sndio/build.sh Normal file
View file

@ -0,0 +1,51 @@
pkgname=sndio
pkgver=1.8.1
ext="dev:doc"
fetch() {
curl -L "https://sndio.org/sndio-$pkgver.tar.gz" -o $pkgname-$pkgver.tar.gz
tar -xf $pkgname-$pkgver.tar.gz
}
build() {
cd $pkgname-$pkgver
./configure \
--prefix=/usr \
--enable-alsa
gmake
}
package() {
cd $pkgname-$pkgver
gmake install DESTDIR=$pkgdir
rm -rf $pkgdir/usr/share/man
rm -rf $pkgdir/usr/include
rm -rf $pkgdir/usr/lib/pkgconfig
}
package_dev() {
cd $pkgname-$pkgver
gmake install DESTDIR=$pkgdir
rm -rf $pkgdir/usr/bin
rm -rf $pkgdir/usr/share/man
rm -rf $pkgdir/usr/lib/*.so*
}
package_doc() {
cd $pkgname-$pkgver
gmake install DESTDIR=$pkgdir
rm -rf $pkgdir/usr/lib
rm -rf $pkgdir/usr/bin
rm -rf $pkgdir/usr/include
}
license() {
cd $pkgname-$pkgver
cat LICENSE
# cat COPYING
}