2006-02-23 15:26:10 +00:00
|
|
|
# Description: ejects CDs and operates CD-Changers
|
|
|
|
# URL: http://ca.geocities.com/jefftranter%40rogers.com/eject.html
|
|
|
|
# Maintainer: sten, nick dot steeves at shaw dot ca
|
|
|
|
# Packager:
|
|
|
|
|
|
|
|
name=eject
|
|
|
|
version=2.1.0
|
2006-03-21 23:30:11 +00:00
|
|
|
release=2
|
2006-02-23 15:26:10 +00:00
|
|
|
source=(http://www.ibiblio.org/pub/Linux/utils/disk-management/$name-$version.tar.gz)
|
2006-03-21 23:30:11 +00:00
|
|
|
build() {
|
|
|
|
cd $name-$version
|
|
|
|
aclocal
|
|
|
|
automake --add-missing
|
|
|
|
autoconf
|
|
|
|
# don't look for kernel headers
|
|
|
|
sed -i -e "s|-I/usr/src/linux/include||g" -e "s|-I/usr/src/linux/include||g" Makefile.*
|
|
|
|
./configure --prefix=/usr \
|
|
|
|
--enable-default-device=/dev/cdrom \
|
|
|
|
--disable-nls
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
rm -rf $PKG/usr/share
|
2006-02-23 15:26:10 +00:00
|
|
|
}
|