Accueil

Programmes

CRUX Repository

Liens

valid xhtml 1.0

Auth

Pkgfile

# Description: Power Manager Daemon for Apple Powerbook
# URL: 
# Maintainer: LeMarsu
# Packager: ch.ruelle@lemarsu.com
# Depends on:

name=pmud
version=0.10
release=1
source=(pmud http://switch.dl.sourceforge.net/sourceforge/apmud/$name-$version.1.tar.gz)

build() {
	cd $name-$version
	make
	install -D -m 755 pmud $PKG/usr/sbin/pmud 
	install -D -m 755 snooze $PKG/usr/sbin/snooze 
	install -D -m 755 wakebay $PKG/usr/sbin/wakebay 
	install -D -m 755 fblevel $PKG/usr/sbin/fblevel 
	install -D -m 755 xmouse $PKG/usr/X11R6/bin/xmouse 
	install -D -m 755 Batmon $PKG/usr/bin/Batmon 
	install -D -m 755 pwrctl $PKG/etc/power/pwrctl 
	# install -D -m 755 pwrctl $PKG/etc/power/pwrctl/pwrctl 
	install -D -m 755 ../pmud $PKG/etc/rc.d/pmud
	for man in batmon.8 fblevel.8 pmud.8 snooze.8 xmouse.8; do
		install -D -m 644 $man $PKG/usr/man/man8/$man
		gzip $PKG/usr/man/man8/$man
	done
	# mkdir -p $PKG/usr/man/man8
	# install -D -m 644 pmud.8 $PKG/usr/man/man8/pmud.8
	# install -D -m 644 batmon.8 $PKG/usr/man/man8/batmon.8
	# install -D -m 644 fblevel.8 $PKG/usr/man/man8/fblevel.8
	# install -D -m 644 snooze.8 $PKG/usr/man/man8/snooze.8
	# install -D -m 644 xmouse.8 $PKG/usr/man/man8/xmouse.8
}