New package: bootchart2-0.14.8.20170531

This commit is contained in:
Coding-Doctors 2017-12-10 20:10:17 -05:00 committed by Toyam Cox
parent 1b455cecf3
commit 091d8e8888
2 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,20 @@
--- Makefile.orig 2017-12-10 19:54:55.223497878 -0500
+++ Makefile 2017-12-10 19:37:39.909790719 -0500
@@ -19,7 +19,7 @@
EARLY_PREFIX ?=
BINDIR ?= /usr/bin
-PYTHON ?= python
+PYTHON ?= python2
DOCDIR ?= /usr/share/docs/$(PROGRAM_PREFIX)bootchart$(PROGRAM_SUFFIX)
MANDIR ?= /usr/share/man/man1
# never contains /usr; typically /lib, /lib64 or e.g. /lib/x86_64-linux-gnu
@@ -99,7 +99,7 @@
install -d $(DESTDIR)$(PKGLIBDIR)/tmpfs
install-collector: all install-chroot
- install -m 755 -D bootchartd $(DESTDIR)$(EARLY_PREFIX)/sbin/$(PROGRAM_PREFIX)bootchartd$(PROGRAM_SUFFIX)
+ install -m 755 -D bootchartd $(DESTDIR)$(EARLY_PREFIX)/bin/$(PROGRAM_PREFIX)bootchartd$(PROGRAM_SUFFIX)
install -m 644 -D bootchartd.conf $(DESTDIR)/etc/$(PROGRAM_PREFIX)bootchartd$(PROGRAM_SUFFIX).conf
install -m 755 -D bootchart-collector $(DESTDIR)$(PKGLIBDIR)/$(PROGRAM_PREFIX)bootchart$(PROGRAM_SUFFIX)-collector

View File

@ -0,0 +1,16 @@
# Template file for 'bootchart2'
pkgname=bootchart2
version=0.14.8.20170531
revision=1
build_style=gnu-makefile
make_install_args="EARLY_PREFIX=/usr"
makedepends="python"
depends="pygtk git"
short_desc="Startup graphing tool"
maintainer="Benjamin Hoffmeyer <hoffmeyer25@gmail.com>"
license="GPL-2"
homepage="https://github.com/xrmx/bootchart"
_gitrev=331ada031f1d65f6d934d918f896e1c708c64bf7
distfiles="https://github.com/xrmx/bootchart/archive/${_gitrev}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=a8140cc690bd7d08ab9c030325cb075e154b7545083036ffb65bda8d740d85b4
wrksrc="bootchart-${_gitrev}"