Date: Monday, March 19, 2012 @ 16:44:28 Author: tomegun Revision: 153844
add bootchart, which will go to extra Added: bootchart/ bootchart/repos/ bootchart/trunk/ bootchart/trunk/PKGBUILD bootchart/trunk/build.patch -------------+ PKGBUILD | 26 ++++++++++++++++++++++++++ build.patch | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+) Added: bootchart/trunk/PKGBUILD =================================================================== --- bootchart/trunk/PKGBUILD (rev 0) +++ bootchart/trunk/PKGBUILD 2012-03-19 20:44:28 UTC (rev 153844) @@ -0,0 +1,26 @@ +# $Id$ +# Maintainer: Tom Gundersen <t...@jklm.no> +pkgname="bootchart" +pkgver=1.15 +pkgrel=1 +pkgdesc="a 'startup' graphing tool" +url="https://meego.gitorious.org/meego-developer-tools/bootchart" +license=('GPL2') +arch=(i686 x86_64) +depends=('glibc') +source=("http://foo-projects.org/~sofar/${pkgname}/${pkgname}-${pkgver}.tar.gz" + 'build.patch') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + patch -p1 -i ../build.patch + + make +} + +package() { + cd "$srcdir/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} +md5sums=('e24cad9db140521fca5193a88589e669') Property changes on: bootchart/trunk/PKGBUILD ___________________________________________________________________ Added: svn:keywords ## -0,0 +1 ## +Id Added: bootchart/trunk/build.patch =================================================================== --- bootchart/trunk/build.patch (rev 0) +++ bootchart/trunk/build.patch 2012-03-19 20:44:28 UTC (rev 153844) @@ -0,0 +1,34 @@ +From 4fe62e6b4c072676d246be02ba92a1df3a9d0feb Mon Sep 17 00:00:00 2001 +From: Tom Gundersen <t...@jklm.no> +Date: Fri, 16 Mar 2012 01:34:10 +0100 +Subject: [PATCH] Makefile: move binary and avoid empty dirs + +Install to /usr/bin by default, and don't install an empty /etc. +--- + Makefile | 10 ++++------ + 1 file changed, 4 insertions(+), 6 deletions(-) + +diff --git a/Makefile b/Makefile +index 566a848..c017509 100644 +--- a/Makefile ++++ b/Makefile +@@ -6,12 +6,10 @@ CC := gcc + all: bootchartd + + install: bootchartd +- mkdir -p $(DESTDIR)/sbin +- mkdir -p $(DESTDIR)/etc +- mkdir -p $(DESTDIR)/usr/share/doc/bootchart/ +- install -m0755 bootchartd $(DESTDIR)/sbin/ +- install -m0644 bootchartd.conf.example $(DESTDIR)/usr/share/doc/bootchart/ +- install -m0644 README COPYING $(DESTDIR)/usr/share/doc/bootchart/ ++ install -d $(DESTDIR)/usr/bin ++ install -d $(DESTDIR)/usr/share/doc/bootchart ++ install -m0755 bootchartd $(DESTDIR)/usr/bin/ ++ install -m0644 README COPYING bootchartd.conf.example $(DESTDIR)/usr/share/doc/bootchart/ + + OBJS := log.o svg.o bootchart.o + +-- +1.7.9.4 +