removed alarm/libaccept4

This commit is contained in:
Kevin Mihelich 2018-03-05 19:23:50 +00:00
parent 89780b7d7e
commit c4747ca5ea
2 changed files with 0 additions and 44 deletions

View file

@ -1,26 +0,0 @@
# Maintainer: Jason Plum <jplum@archlinuxarm.org>
pkgname=libaccept4
pkgdesc='Library to supply accept4() to kernels without it'
pkgver=0.1.0
pkgrel=2
arch=('arm')
license=('GPL')
url="http://pond-weed.com/wmt8650/index.html"
source=("http://pond-weed.com/wmt8650/libaccept4-$pkgver.tar.gz")
sha256sums=('7f51cc578a52045bfbee7c6f8b3824a67c2f2228b1e83b6ab80a9c18eadd9bb8')
options=(!libtool)
install=$pkgname.install
build() {
cd "$srcdir/libaccept4-$pkgver"
./configure --prefix=/usr
make
}
package() {
cd "$srcdir/libaccept4-$pkgver"
make DESTDIR="${pkgdir}/" install
}
# vim:set ts=2 sw=2 et:

View file

@ -1,18 +0,0 @@
# add it to the ld.so.preload
post_install() {
echo "/usr/lib/libaccept4.so" >> /etc/ld.so.preload
}
post_upgrade() {
post_remove
post_install
}
# remove from ld.so.preload
post_remove() {
if [ -f /etc/ld.so.preload ]; then
sed -i '/libaccept4\.so/d' /etc/ld.so.preload
fi;
}
# vim:set ts=2 sw=2 et: