atitvout: Picked up and cleanup.

This commit is contained in:
Jose V Beneyto 2008-03-18 11:30:21 +01:00
parent 733e63de00
commit 2040c83c1a
3 changed files with 8 additions and 10 deletions

View File

@ -1,2 +1,2 @@
f2915a435844aadcd4d8f9f62411283b atitvout-0.4.tar.gz
45e428fa2bd34a3c42658089597dc414 atitvout-patch
3c12fcce658637895dcdef5136900c10 atitvout-patch

View File

@ -1,20 +1,18 @@
# Description: Utility to switch to TV-Out on ATI Video Cards.
# URL: http://0pointer.de/lennart/projects/atitvout/
# Maintainer: James Mills, prologic at shortcircuit dot net dot au
# Packager: James Mills, prologic at shortcircuit dot net dot au
#
# URL: http://0pointer.de/lennart/projects/atitvout/
# Maintainer: Jose V Beneyto, sepen at users dot sourceforge dot net
# Packager: James Mills, prologic at shortcircuit dot net dot au
# Depends on:
name=atitvout
version=0.4
release=1
source=(http://0pointer.de/lennart/projects/$name/$name-$version.tar.gz \
$name-patch)
$name-patch)
build() {
cd $name
install -d $PKG/usr/sbin
patch -p1 -i $SRC/$name-patch
make && make DESTDIR=$PKG install
chown -R root:root $PKG
make
make DESTDIR=$PKG install
}

View File

@ -15,7 +15,7 @@ diff -pruN atitvout.orig/Makefile atitvout/Makefile
install: strip
- install -g root -o root -m 555 $(BINARY) /usr/local/sbin
+ install -g root -o root -m 555 $(BINARY) ${DESTDIR}${PREFIX}/sbin
+ install -D -m 0555 $(BINARY) ${DESTDIR}${PREFIX}/sbin/$(BINARY)
deinstall:
- rm -f /usr/local/sbin/$(BINARY)