1
0
forked from ports/opt
opt/hotplug-perl/Pkgfile
2005-11-16 16:45:59 +00:00

21 lines
628 B
Plaintext

# Description: Perl hotplug implementation with a focus on boot speed
# URL: http://opensource.idealcorp.com/hotplug-perl/
# Maintainer: Jukka Heino, jukka at karsikkopuu dot net
# Packager: Jukka Heino, jukka at karsikkopuu dot net
# Depends on:
name=hotplug-perl
version=1.1
release=1
source=(http://opensource.idealcorp.com/debian/${name}_$version-1.tar.gz \
$name.rc)
build() {
cd $name-$version
mkdir -p $PKG/{sbin,usr/man/man3}
find -type f | xargs -i sed -i s:share/man:man:g {}
make DESTDIR=$PKG install
rm -rf $PKG/usr/share/doc
install -D -m 0755 $SRC/$name.rc $PKG/etc/rc.d/$name
}