diff options
author | James Mills <prologic@daisy.(none)> | 2006-11-14 09:13:35 +1000 |
---|---|---|
committer | James Mills <prologic@daisy.(none)> | 2006-11-14 09:13:35 +1000 |
commit | 577628b6e19141b5f3914b4699e794b859572aba (patch) | |
tree | 28d16d6a03716cf0fe12e4b44ca60b6d71d387f0 /atitvout | |
parent | 70006e31d25693aa65fc985124ce9babbd3347fc (diff) | |
download | contrib-577628b6e19141b5f3914b4699e794b859572aba.tar.gz contrib-577628b6e19141b5f3914b4699e794b859572aba.tar.xz |
Imported from personal repo
Diffstat (limited to 'atitvout')
-rw-r--r-- | atitvout/.footprint | 3 | ||||
-rw-r--r-- | atitvout/.md5sum | 2 | ||||
-rw-r--r-- | atitvout/Pkgfile | 20 | ||||
-rw-r--r-- | atitvout/atitvout-patch | 25 |
4 files changed, 50 insertions, 0 deletions
diff --git a/atitvout/.footprint b/atitvout/.footprint new file mode 100644 index 000000000..c8346afca --- /dev/null +++ b/atitvout/.footprint @@ -0,0 +1,3 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/sbin/ +-r-xr-xr-x root/root usr/sbin/atitvout diff --git a/atitvout/.md5sum b/atitvout/.md5sum new file mode 100644 index 000000000..7696eadde --- /dev/null +++ b/atitvout/.md5sum @@ -0,0 +1,2 @@ +f2915a435844aadcd4d8f9f62411283b atitvout-0.4.tar.gz +45e428fa2bd34a3c42658089597dc414 atitvout-patch diff --git a/atitvout/Pkgfile b/atitvout/Pkgfile new file mode 100644 index 000000000..a351e4467 --- /dev/null +++ b/atitvout/Pkgfile @@ -0,0 +1,20 @@ +# $Id: Pkgfile 1330 2006-11-13 20:54:04Z prologic $ +# 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 +# Depends on: + +name=atitvout +version=0.4 +release=1 +source=(http://0pointer.de/lennart/projects/$name/$name-$version.tar.gz \ + $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 +} diff --git a/atitvout/atitvout-patch b/atitvout/atitvout-patch new file mode 100644 index 000000000..153bedf03 --- /dev/null +++ b/atitvout/atitvout-patch @@ -0,0 +1,25 @@ +diff -pruN atitvout.orig/Makefile atitvout/Makefile +--- atitvout.orig/Makefile 2005-10-04 23:27:58.000000000 +1000 ++++ atitvout/Makefile 2005-10-04 23:35:48.000000000 +1000 +@@ -4,6 +4,8 @@ OBJS=atitvout.o ati.o vbeinfo.o vbecall. + TAR=atitvout-$(VERSION).tar.gz + BINARY=atitvout + PACKAGE=atitvout ++PREFIX=/usr ++DESTDIR= + + all: $(BINARY) + +@@ -21,10 +23,10 @@ clean: + make -C lrmi-0.6 clean + + install: strip +- install -g root -o root -m 555 $(BINARY) /usr/local/sbin ++ install -g root -o root -m 555 $(BINARY) ${DESTDIR}${PREFIX}/sbin + + deinstall: +- rm -f /usr/local/sbin/$(BINARY) ++ rm -f ${DESTDIR}${PREFIX}/sbin + + README: README.in + sed s/VERSION/$(VERSION)/ < README.in > README |