summaryrefslogtreecommitdiff
path: root/community/oprofile
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-17 00:58:52 -0700
committerroot <root@rshg054.dnsready.net>2013-07-17 00:58:52 -0700
commitdee9f17b595ea903a982d31d1124b302bb17e2ff (patch)
tree295fdab78e28e1952fbc13ce824d57c88ede4e3b /community/oprofile
parent380530d02a5449fdef97b63b394a6743c3de0092 (diff)
Wed Jul 17 00:58:51 PDT 2013
Diffstat (limited to 'community/oprofile')
-rw-r--r--community/oprofile/PKGBUILD46
-rw-r--r--community/oprofile/oprofile.install21
2 files changed, 0 insertions, 67 deletions
diff --git a/community/oprofile/PKGBUILD b/community/oprofile/PKGBUILD
deleted file mode 100644
index 3491127be..000000000
--- a/community/oprofile/PKGBUILD
+++ /dev/null
@@ -1,46 +0,0 @@
-# $Id: PKGBUILD 85381 2013-03-01 10:36:45Z andrea $
-# Maintainer : Aaron Griffin <aaron@archlinux.org>
-
-pkgname=oprofile
-pkgver=0.9.8
-pkgrel=2
-pkgdesc='System-wide profiler for Linux systems'
-arch=('i686' 'x86_64')
-url="http://oprofile.sourceforge.net"
-license=('GPL')
-depends=('popt' 'gcc-libs' 'zlib' 'sh')
-makedepends=('qt4')
-optdepends=('qt4: for oprof_start gui')
-options=('!libtool')
-install=oprofile.install
-source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
-sha1sums=('28416b853641f913e5f90954f2e3837efd96f6cd')
-
-build() {
- . /etc/profile.d/qt4.sh
-
- cd "$srcdir/$pkgname-$pkgver"
- ./configure --prefix=/usr --with-kernel-support --with-x --enable-gui=qt4
- make
-}
-
-check() {
- cd "$srcdir/$pkgname-$pkgver"
- make check
-}
-
-package() {
- cd "$srcdir/$pkgname-$pkgver"
- make DESTDIR="$pkgdir" install
- install -d "$pkgdir/var/lib/oprofile"
-
-# installing development libraries and headers - FS#20089
- install -d "$pkgdir/usr/include/oprofile"
- install -m644 config.h libop/op_*.h libregex/op_*.h libdb/odb.h \
- libpp/{locate_images.h,image_errors.h} libutil/op_*.h \
- libutil++/{op_*.h,bfd_support.h,utility.h,cached_value.h} "$pkgdir/usr/include/oprofile"
- install -m644 libop/libop.a libdb/libodb.a "$pkgdir/usr/lib/"
- install -m644 libabi/libabi.a "$pkgdir/usr/lib/libopabi.a"
- install -m644 libutil/libutil.a "$pkgdir/usr/lib/liboputil.a"
- install -m644 libutil++/libutil++.a "$pkgdir/usr/lib/liboputil++.a"
-}
diff --git a/community/oprofile/oprofile.install b/community/oprofile/oprofile.install
deleted file mode 100644
index 5cd3e7e22..000000000
--- a/community/oprofile/oprofile.install
+++ /dev/null
@@ -1,21 +0,0 @@
-post_install(){
- groupadd -g 492 oprofile &>/dev/null
- useradd -u 492 -g oprofile -d /var/lib/oprofile -s /bin/false oprofile &>/dev/null
-}
-
-post_upgrade(){
- getent group oprofile >/dev/null 2>&1 || groupadd -g 492 oprofile &>/dev/null
- getent passwd oprofile >/dev/null 2>&1 || useradd -u 492 -g oprofile -d /var/lib/oprofile -s /bin/false oprofile &>/dev/null
- if [ "$(vercmp $2 0.9.7-2)" -lt 0 ] ; then
- usermod -d /var/lib/oprofile oprofile
- fi
-}
-
-post_remove(){
- if getent passwd oprofile >/dev/null 2>&1; then
- userdel oprofile
- fi
- if getent group oprofile >/dev/null 2>&1; then
- groupdel oprofile
- fi
-}