You are not logged in.

#1 2004-08-11 19:35:48

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

new package - ibam

this is my first package.  it is somewaht untested as i cannot get apm to work in Arch, even though it has worked it other distros  :cry:

this installs the ibam binary and a gkrellm2 plugin to the shared folder

# Contributor: dibblethewrecker <dibblethewrecker.at.jiwe.dot.org>
pkgname=ibam
pkgver=0.3
pkgrel=1
pkgdesc="IBAM is an advanced battery monitor for laptops, which uses statistical and adaptive linear methods to provide accurate estimations of minutes of battery left or of the time needed until full recharge."
url="http://ibam.sourceforge.net/"
license=""
depends=('apmd' 'gkrellm')
makedepends=()
conflicts=()
replaces=()
backup=()
install=ibam.install
source=(http://heanet.dl.sourceforge.net/sourceforge/ibam/$pkgname-$pkgver.tar.gz)
md5sums=('7c46d0b5b03e0863f89e961ce03cf6ce')

build() {
  # compile ibam no configure script and Makefile has /usr/ hardcoded
  cd $startdir/src/$pkgname-$pkgver
  /usr/bin/make || return 1 
  /bin/install -D -m755 ibam $startdir/pkg/usr/bin/ibam

  # compile ibam-krell for gkrellm
  cd $startdir/src/$pkgname
  /usr/bin/make krell || return 1
  /bin/install -D -m755 ibam-krell.so 
    $startdir/pkg/usr/lib/gkrellm2/plugins/ibam-krell.so
}

feed my back, please

Offline

Board footer

Powered by FluxBB