[arch-commits] Commit in oprofile/trunk (PKGBUILD)

Andrea Scarpino andrea at archlinux.org
Wed Feb 3 00:38:33 UTC 2010


    Date: Tuesday, February 2, 2010 @ 19:38:33
  Author: andrea
Revision: 67085

upgpkg: oprofile 0.9.6-1
    moved qt3 as optdepends; added libtools option; remove daemon (FS#18072)

Modified:
  oprofile/trunk/PKGBUILD

----------+
 PKGBUILD |   31 ++++++++++++++++---------------
 1 file changed, 16 insertions(+), 15 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-02-03 00:30:41 UTC (rev 67084)
+++ PKGBUILD	2010-02-03 00:38:33 UTC (rev 67085)
@@ -4,26 +4,27 @@
 pkgname=oprofile
 pkgver=0.9.6
 pkgrel=1
-pkgdesc="a system-wide profiler for Linux systems, capable of profiling all running code at low overhead."
+pkgdesc="a system-wide profiler for Linux systems, capable of profiling all running code at low overhead"
 arch=('i686' 'x86_64')
 url="http://oprofile.sourceforge.net"
 license=('GPL')
-depends=('qt3' 'popt' 'gcc')
-source=(http://downloads.sourceforge.net/sourceforge/oprofile/$pkgname-$pkgver.tar.gz
-        oprofile
-        oprofile.conf)
-md5sums=('4e407093ac06200185d5a5e6437d7242'
-         'c17ea27694be82f73a735354352f3558'
-         '8da1393a0401e7cc9071e184902e50a3')
+makedepends=('qt3')
+depends=('popt')
+optdepends=('qt3: for oprof_start gui')
+source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz)
+md5sums=('4e407093ac06200185d5a5e6437d7242')
+options=('!libtool')
 
-build()
-{
+build() {
   cd $srcdir/$pkgname-$pkgver
-  . /etc/profile.d/qt3.sh
-  ./configure --prefix=/usr --mandir=/usr/share/man --with-kernel-support --with-x
+  ./configure --prefix=/usr \
+    --mandir=/usr/share/man \
+    --with-kernel-support \
+    --with-x
   make || return 1
-  make DESTDIR=$pkgdir install
+}
 
-  install -Dm755 $srcdir/oprofile $pkgdir/etc/rc.d/oprofile
-  install -Dm755 $srcdir/oprofile.conf $pkgdir/etc/conf.d/oprofile
+package() {
+  cd $srcdir/$pkgname-$pkgver
+  make DESTDIR=$pkgdir install || return 1
 }




More information about the arch-commits mailing list