[arch-commits] Commit in oprofile/repos (extra-x86_64 extra-x86_64/PKGBUILD)

Andrea Scarpino andrea at archlinux.org
Wed Feb 3 00:40:41 UTC 2010


    Date: Tuesday, February 2, 2010 @ 19:40:41
  Author: andrea
Revision: 67087

Merged revisions 67085 via svnmerge from 
svn+ssh://gerolde.archlinux.org/srv/svn-packages/oprofile/trunk

........
  r67085 | andrea | 2010-02-03 01:38:33 +0100 (Wed, 03 Feb 2010) | 2 lines
  
  upgpkg: oprofile 0.9.6-1
      moved qt3 as optdepends; added libtools option; remove daemon (FS#18072)
........

Modified:
  oprofile/repos/extra-x86_64/	(properties)
  oprofile/repos/extra-x86_64/PKGBUILD

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


Property changes on: oprofile/repos/extra-x86_64
___________________________________________________________________
Modified: svnmerge-integrated
   - /oprofile/trunk:1-66800
   + /oprofile/trunk:1-67086

Modified: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2010-02-03 00:39:12 UTC (rev 67086)
+++ extra-x86_64/PKGBUILD	2010-02-03 00:40:41 UTC (rev 67087)
@@ -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