summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2006-09-16 16:22:30 +0000
committerMatthias Schwarzott <zzam@gentoo.org>2006-09-16 16:22:30 +0000
commit006e2762806c16e84e03eff21beb66cfc9e26980 (patch)
tree3cf7975f7db8659cdb136983e3d9073dc22ccc43 /media-tv/w_scan
parentAdd a fix for an absolute axis crasher. (Bug #147794, Priit Laes) (diff)
downloadhistorical-006e2762806c16e84e03eff21beb66cfc9e26980.tar.gz
historical-006e2762806c16e84e03eff21beb66cfc9e26980.tar.bz2
historical-006e2762806c16e84e03eff21beb66cfc9e26980.zip
Initial import of ebuild, provided by E. Scaglione <erm67@yahoo.it>, see Bug #146987.
Package-Manager: portage-2.1.2_pre1
Diffstat (limited to 'media-tv/w_scan')
-rw-r--r--media-tv/w_scan/ChangeLog11
-rw-r--r--media-tv/w_scan/Manifest26
-rw-r--r--media-tv/w_scan/files/digest-w_scan-200609033
-rw-r--r--media-tv/w_scan/files/w_scan-20060903-paths.patch115
-rw-r--r--media-tv/w_scan/w_scan-20060903.ebuild29
5 files changed, 184 insertions, 0 deletions
diff --git a/media-tv/w_scan/ChangeLog b/media-tv/w_scan/ChangeLog
new file mode 100644
index 000000000000..54f6743ca6c7
--- /dev/null
+++ b/media-tv/w_scan/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for media-tv/w_scan
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-tv/w_scan/ChangeLog,v 1.1 2006/09/16 16:22:30 zzam Exp $
+
+*w_scan-20060903 (16 Sep 2006)
+
+ 16 Sep 2006; Matthias Schwarzott <zzam@gentoo.org>
+ +files/w_scan-20060903-paths.patch, +w_scan-20060903.ebuild:
+ Initial import of ebuild, provided by E. Scaglione <erm67@yahoo.it>, see Bug
+ #146987.
+
diff --git a/media-tv/w_scan/Manifest b/media-tv/w_scan/Manifest
new file mode 100644
index 000000000000..c4b8f8ed1015
--- /dev/null
+++ b/media-tv/w_scan/Manifest
@@ -0,0 +1,26 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX w_scan-20060903-paths.patch 3375 RMD160 da2977020157f8cfaba40025cc7cbbc6965c711c SHA1 fefc34e4d9aaf5614715af681cd24a8d5873bb17 SHA256 6a48fbe123672f86040d843f2362f7d21bcdf76f71ce9a43ad2f811ac0acf761
+MD5 90afda04013676041ce9952cd94feb0b files/w_scan-20060903-paths.patch 3375
+RMD160 da2977020157f8cfaba40025cc7cbbc6965c711c files/w_scan-20060903-paths.patch 3375
+SHA256 6a48fbe123672f86040d843f2362f7d21bcdf76f71ce9a43ad2f811ac0acf761 files/w_scan-20060903-paths.patch 3375
+DIST w_scan-20060903.tar.bz2 211285 RMD160 cb67c818bf79224de0c0f274438854c45d3b33d3 SHA1 7f2525c1d195a5fd01cbaa24484844e0c810622f SHA256 e465da985928d48fcbbedb84582f19a34c141e0d567cdd70b27f3ab0ca496dd8
+EBUILD w_scan-20060903.ebuild 698 RMD160 a67e249ed1f9c952362913d1888e7676e1175426 SHA1 7ff9f8708d5bebe4eee85db57d704db8d0aa4de5 SHA256 bbc0fa820c6eb22d956e109e292fb478283fcae76e7aed7fbcada19771bcd6bb
+MD5 194a53cf5ad787e9c1563f211d488644 w_scan-20060903.ebuild 698
+RMD160 a67e249ed1f9c952362913d1888e7676e1175426 w_scan-20060903.ebuild 698
+SHA256 bbc0fa820c6eb22d956e109e292fb478283fcae76e7aed7fbcada19771bcd6bb w_scan-20060903.ebuild 698
+MISC ChangeLog 440 RMD160 79e31c3b2470d95e18b243f7c68ebd73229aaaa3 SHA1 ae142322c1a26916594e6d7f1542b13972d89dcd SHA256 a5663e439722527c7adb9b684dc834dc87b32ca2e4cbd75eb78dbb3cc0c27baa
+MD5 dbc036ed5d35063c39503dd9d3f079dd ChangeLog 440
+RMD160 79e31c3b2470d95e18b243f7c68ebd73229aaaa3 ChangeLog 440
+SHA256 a5663e439722527c7adb9b684dc834dc87b32ca2e4cbd75eb78dbb3cc0c27baa ChangeLog 440
+MD5 57bacdd417fef38bb9dacd68cddb5d83 files/digest-w_scan-20060903 250
+RMD160 ae0512f961163231e01e86f3eb8f82c662f3dd0b files/digest-w_scan-20060903 250
+SHA256 1888d9efd76210769f009b9657c4842d826a47bd2aea6bfb471a4a5f0e5c85f4 files/digest-w_scan-20060903 250
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.5 (GNU/Linux)
+
+iD8DBQFFDCTVt2vP6XvVdOcRAqK2AJ0Y2tazJHneqW7Y8iW54EHBB4x4owCfWCMi
+D9xYCMZxW2dc1aYvz1WB2rY=
+=u6Vo
+-----END PGP SIGNATURE-----
diff --git a/media-tv/w_scan/files/digest-w_scan-20060903 b/media-tv/w_scan/files/digest-w_scan-20060903
new file mode 100644
index 000000000000..b1466576ef60
--- /dev/null
+++ b/media-tv/w_scan/files/digest-w_scan-20060903
@@ -0,0 +1,3 @@
+MD5 f2cf21cf348b999eceff8ccae17a782e w_scan-20060903.tar.bz2 211285
+RMD160 cb67c818bf79224de0c0f274438854c45d3b33d3 w_scan-20060903.tar.bz2 211285
+SHA256 e465da985928d48fcbbedb84582f19a34c141e0d567cdd70b27f3ab0ca496dd8 w_scan-20060903.tar.bz2 211285
diff --git a/media-tv/w_scan/files/w_scan-20060903-paths.patch b/media-tv/w_scan/files/w_scan-20060903-paths.patch
new file mode 100644
index 000000000000..7a9bae20cbb0
--- /dev/null
+++ b/media-tv/w_scan/files/w_scan-20060903-paths.patch
@@ -0,0 +1,115 @@
+diff -r -u w_scan-20060903/Makefile w_scan-20060903.org/Makefile
+--- w_scan-20060903/Makefile 2006-09-02 23:20:04.000000000 +0200
++++ w_scan-20060903.org/Makefile 2006-09-09 22:03:24.000000000 +0200
+@@ -7,20 +7,27 @@
+ SRCS = $(OBJS:.o=.c)
+
+ TARGET = w_scan
++DESTDIR = /
++BINDIR = usr/bin
++SHAREDIR = usr/share/wscan
++DOCDIR = usr/share/doc/wscan
+
+ $(TARGET): $(OBJS)
+ $(CC) $(LFLAGS) -o $(TARGET) $(OBJS)
+
+ .c.o:
+- $(CC) $(CFLAGS) --static -c $< -o $@
++ $(CC) $(CFLAGS) -c $< -o $@
+
+ install:
+- install -m 755 $(TARGET) /usr/bin
+- install -m 755 w_scan_start.sh /usr/bin
+- install pci.ids /usr/bin
+- install pci.classes /usr/bin
+- install usb.ids /usr/bin
+- install usb.classes /usr/bin
++ @mkdir -p ${DESTDIR}${BINDIR}
++ @mkdir -p ${DESTDIR}${SHAREDIR}
++ @mkdir -p ${DESTDIR}${DOCDIR}
++ install -m 755 $(TARGET) ${DESTDIR}${BINDIR}
++ install -m 755 w_scan_start.sh ${DESTDIR}${BINDIR}
++ install pci.ids ${DESTDIR}${SHAREDIR}
++ install pci.classes ${DESTDIR}${SHAREDIR}
++ install usb.ids ${DESTDIR}${SHAREDIR}
++ install usb.classes ${DESTDIR}${SHAREDIR}
+ clean:
+ $(RM) *.o *.d $(TARGET)
+
+diff -r -u w_scan-20060903/w_scan_start.sh w_scan-20060903.org/w_scan_start.sh
+--- w_scan-20060903/w_scan_start.sh 2006-09-02 23:23:49.000000000 +0200
++++ w_scan-20060903.org/w_scan_start.sh 2006-09-09 21:56:00.000000000 +0200
+@@ -414,8 +414,8 @@
+ read idVendor < $i/idVendor
+ read idProduct < $i/idProduct
+ # avoid errors if ressource not available
+- if [ ! -e $(pwd)/usb.ids ] ||
+- [ ! -e $(pwd)/usb.classes ]; then
++ if [ ! -e /usr/share/w_scan/usb.ids ] ||
++ [ ! -e /usr/share/w_scan/usb.classes ]; then
+ DEBUG_LOADDRIVER=false
+ fi
+ if [ $DEBUG_LOADDRIVER == true ]; then
+@@ -424,7 +424,7 @@
+ class_name=${line:6:40}
+ break
+ fi
+- done < $(pwd)/usb.classes
++ done < /usr/share/w_scan/usb.classes
+ while read line; do
+ if [ "${line:0:4}" == "$idVendor" ]; then
+ vendor_name=${line:6:80}
+@@ -438,7 +438,7 @@
+ done
+ break
+ fi
+- done < $(pwd)/usb.ids
++ done < /usr/share/w_scan/usb.ids
+ fi
+ while read line; do
+ data=$line
+@@ -507,8 +507,8 @@
+ read subvendor < $i/subsystem_vendor
+ read subdevice < $i/subsystem_device
+ # avoid errors if ressource not available
+- if [ ! -e $(pwd)/pci.ids ] ||
+- [ ! -e $(pwd)/pci.classes ]; then
++ if [ ! -e /usr/share/w_scan/pci.ids ] ||
++ [ ! -e /usr/share/w_scan/pci.classes ]; then
+ DEBUG_LOADDRIVER=false
+ fi
+ if [ $DEBUG_LOADDRIVER == true ]; then
+@@ -517,7 +517,7 @@
+ class_name=${line:5:40}
+ break
+ fi
+- done < $(pwd)/pci.classes
++ done < /usr/share/w_scan/pci.classes
+ while read line; do
+ if [ "${line:0:4}" == "${vendor:2:4}" ]; then
+ vendor_name=${line:5:80}
+@@ -531,13 +531,13 @@
+ done
+ break
+ fi
+- done < $(pwd)/pci.ids
++ done < /usr/share/w_scan/pci.ids
+ while read line; do
+ if [ "${line:0:4}" == "${subvendor:2:4}" ]; then
+ subvendor_name=${line:5:80}
+ break
+ fi
+- done < $(pwd)/pci.ids
++ done < /usr/share/w_scan/pci.ids
+ fi
+ while read line; do
+ data=$line
+@@ -688,7 +688,7 @@
+ echo "Copying channels.conf skipped - okay."
+ echo "The channels.conf generated can be found at"
+ echo -n -e "\\033[1;34m"
+- echo "$(pwd)/channels.conf-$DATE"
++ echo "/usr/share/w_scan/channels.conf-$DATE"
+ echo ""
+ echo -e -n $NORMAL
+ else
diff --git a/media-tv/w_scan/w_scan-20060903.ebuild b/media-tv/w_scan/w_scan-20060903.ebuild
new file mode 100644
index 000000000000..082e7f5ae170
--- /dev/null
+++ b/media-tv/w_scan/w_scan-20060903.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit eutils
+
+DESCRIPTION="Scan for DVB-C/DVB-T channels without prior knowledge of frequencies and modulations - can also create a file in vdr-format"
+HOMEPAGE="http://free.pages.at/wirbel4vdr/w_scan/index2.html"
+SRC_URI="http://free.pages.at/wirbel4vdr/w_scan/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND="media-tv/linuxtv-dvb-headers"
+RDEPEND=""
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch "${FILESDIR}/${P}-paths.patch"
+ emake clean || die "emake clean failed"
+}
+
+src_install() {
+ emake install DESTDIR=${D} || die "emake install failed"
+ dodoc README
+}
+