#Packager: Richard Lapointe #Former Packager(s): Name #Anything commented out is optional and can be deleted. pkgname=bootchart pkgver=0.9 pkgrel=1rl arch=noarch source=(http://downloads.sourceforge.net/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2 \ process-bootchart.sh \ bootchart.desktop) sourcetemplate=http://people.salixos.org/laprjns/$pkgname/$pkgver/ docs=("readme" "install" "copying" "changelog" "authors" "news" "todo") url=http://www.bootchart.org extradepends=(jre) dotnew=(/etc/bootchartd.conf) #CFLAGS= #CXXFLAGS= options=('noautodotnew') #doinst() { # #} slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "$pkgname - Tool for logging and visualizing bootup performance" "$pkgname is a tool for performance analysis and visualization of the" "GNU/Linux boot process. Resource utilization and process information" "are collected during the boot process and logged to:" "/var/log/bootchart.tgz" "After logging your bootup, you may wish to click 'Process Bootchart" "Log File' in the System menu, at which point a png will be created" "and deposited in your home directory. To log your boot process, press" "TAB at the LILO screen and type: Linux init=/sbin/bootchartd" ) build() { cd $startdir mkdir --verbose pkg/sbin mkdir --verbose pkg/etc mkdir --verbose --parent pkg/usr/share/applications install --verbose -m 644 bootchart.desktop pkg/usr/share/applications/ install --verbose -m 755 src/$pkgname-$pkgver/script/bootchartd pkg/sbin/bootchartd install --verbose -m 755 src/$pkgname-$pkgver/script/bootchartd.conf pkg/etc/bootchartd.conf mkdir --verbose pkg/usr/bin # cp src/process-bootchart.sh pkg/usr/bin install --verbose -m 755 src/process-bootchart.sh pkg/usr/bin cd $startdir/src/$pkgname-$pkgver ant install --verbose -m 755 bootchart.jar $startdir/pkg/usr/bin cd $startdir/src/$pkgname-$pkgver }