mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
removed alarm/libaccept4
This commit is contained in:
parent
89780b7d7e
commit
c4747ca5ea
2 changed files with 0 additions and 44 deletions
|
@ -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:
|
|
@ -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:
|
Loading…
Reference in a new issue