summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2015-07-05 00:28:42 (GMT)
committerBritney Fransen <brfransen@gmail.com>2015-07-05 00:28:42 (GMT)
commitd3910d114d7c89f95c39765fc0e716f8ecae7b84 (patch)
treec64b3da9fdab2db63a8209725c943eb52dca6258 /abs
parent7fa978207df77ce628db916c5308b7c450a6e9f6 (diff)
downloadlinhes_pkgbuild-d3910d114d7c89f95c39765fc0e716f8ecae7b84.zip
linhes_pkgbuild-d3910d114d7c89f95c39765fc0e716f8ecae7b84.tar.gz
linhes_pkgbuild-d3910d114d7c89f95c39765fc0e716f8ecae7b84.tar.bz2
prelink: initial inclusion. dep of plex-media-server
Diffstat (limited to 'abs')
-rw-r--r--abs/extra/prelink/PKGBUILD39
-rw-r--r--abs/extra/prelink/prelink.conf43
2 files changed, 82 insertions, 0 deletions
diff --git a/abs/extra/prelink/PKGBUILD b/abs/extra/prelink/PKGBUILD
new file mode 100644
index 0000000..7dace86
--- /dev/null
+++ b/abs/extra/prelink/PKGBUILD
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Alexander Rødseth <rodseth@gmail.com>
+# Contributor: Lukas Fleischer <archlinux at cryptocrack dot de>
+# Contributor: Juergen Hoetzel <juergen@archlinux.org>
+# Contributor: Rouslan Solomakhin <rouslan@localnet.com>
+
+pkgname=prelink
+pkgver=20130503
+pkgrel=4
+pkgdesc='ELF prelinking utility to speed up dynamic linking'
+arch=('x86_64' 'i686')
+url='http://people.redhat.com/jakub/prelink/'
+license=('GPL')
+depends=('elfutils')
+makedepends=('elfutils' 'libtool')
+backup=('etc/prelink.conf')
+source=("http://people.redhat.com/jakub/$pkgname/$pkgname-$pkgver.tar.bz2"
+ 'prelink.conf')
+sha256sums=('6339c7605e9b6f414d1be32530c9c8011f38820d36431c8a62e8674ca37140f0'
+ 'a149b15b3b4f4ebf931b606e560289fa0a00a08f32855dc1c743485fec704381')
+
+build() {
+ cd "$pkgname"
+
+ ./configure --prefix=/usr --mandir=/usr/share/man --sbin=/usr/bin \
+ --disable-static --with-gnu-ld
+ make
+}
+
+check() {
+ make -C "$pkgname" check
+}
+
+package() {
+ make -C "$pkgname" DESTDIR="$pkgdir" install
+ install -Dm644 prelink.conf "$pkgdir/etc/prelink.conf"
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/abs/extra/prelink/prelink.conf b/abs/extra/prelink/prelink.conf
new file mode 100644
index 0000000..038c239
--- /dev/null
+++ b/abs/extra/prelink/prelink.conf
@@ -0,0 +1,43 @@
+# From: https://wiki.archlinux.org/index.php/Talk:Prelink
+# See also: FS#40579 and FS#44727
+
+# System
+/usr/lib
+/usr/lib32
+/usr/bin
+
+# Not using prelink for the following:
+
+# Skype
+-b /usr/lib32/skype/skype
+-b /usr/lib/skype/skype
+
+# Ruby
+-b /usr/bin/ruby
+
+# Flash Player Plugin
+-b /usr/lib/mozilla/plugins/libflashplayer.so
+
+# NVIDIA
+-b /usr/lib/libGL.so*
+-b /usr/lib32/libGL.so*
+-b //usr/lib/libOpenCL.so*
+-b //usr/lib32/libOpenCL.so*
+-b /usr/lib32/vdpau/
+-b /usr/lib/vdpau/
+-b /usr/lib/xorg/modules/drivers/nvidia_drv.so
+-b /usr/lib/xorg/modules/extensions/libglx.so*
+-b /usr/lib/libnvidia-*
+-b /usr/lib32/libnvidia-*
+
+# Catalyst
+-b /usr/lib/libati*
+-b /usr/lib/fglrx*
+-b /usr/lib/libAMDXvBA*
+-b /usr/lib/libGL.so*
+-b /usr/lib/libfglrx*
+-b /usr/lib/xorg/modules/dri/fglrx_dri.so
+-b /usr/lib/xorg/modules/drivers/fglrx_drv.so
+-b /usr/lib/xorg/modules/extensions/fglrx/
+-b /usr/lib/xorg/modules/linux/libfglrxdrm.so
+-b /usr/lib/xorg/modules/extensions/libglx.so