diff options
author | Noel Darlow <mail@mcgruff.plus.com> | 2012-05-22 20:29:29 +0100 |
---|---|---|
committer | Noel Darlow <mail@mcgruff.plus.com> | 2012-05-22 20:29:29 +0100 |
commit | ce3320be57cbcd9a69ebd27869547e2632ddb31d (patch) | |
tree | f5bb18701741ea7bf246cec97ca7bab6768b26a2 | |
parent | bst - change $file to $FILE for consistency (diff) | |
download | underlay-ce3320be57cbcd9a69ebd27869547e2632ddb31d.tar.gz underlay-ce3320be57cbcd9a69ebd27869547e2632ddb31d.tar.bz2 underlay-ce3320be57cbcd9a69ebd27869547e2632ddb31d.zip |
pvr alpha
-rw-r--r-- | media-tv/pvr/ChangeLog | 0 | ||||
-rw-r--r-- | media-tv/pvr/Manifest | 4 | ||||
-rw-r--r-- | media-tv/pvr/metadata.xml | 10 | ||||
-rw-r--r-- | media-tv/pvr/pvr-0.1.0.ebuild | 44 |
4 files changed, 58 insertions, 0 deletions
diff --git a/media-tv/pvr/ChangeLog b/media-tv/pvr/ChangeLog new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/media-tv/pvr/ChangeLog diff --git a/media-tv/pvr/Manifest b/media-tv/pvr/Manifest new file mode 100644 index 0000000..411c06f --- /dev/null +++ b/media-tv/pvr/Manifest @@ -0,0 +1,4 @@ +DIST pvr-0.1.0.tar.bz2 6494 RMD160 4cd49c31ae85d86536d322f4377334552c71e5e2 SHA1 ab6b5bca134d43a1129f6280585287930e8a31a5 SHA256 b49fa9757d1f761017acf837eb449cde3ba04ced6a9460c8d36f73b17858875a +EBUILD pvr-0.1.0.ebuild 1132 RMD160 0015cd4f3772f39993a81df671149300b5f2b4c0 SHA1 eac3a81e27e17e8820a40b12d201206ee4f72a8c SHA256 7f56ff3bf8ed991c0cf2af6efdaf8860e498a1a7ae4aeea7cac1d5a752cd2d85 +MISC ChangeLog 0 RMD160 9c1185a5c5e9fc54612808977ee8f548b2258d31 SHA1 da39a3ee5e6b4b0d3255bfef95601890afd80709 SHA256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 +MISC metadata.xml 402 RMD160 8caa270917a62f075532aa7d1f6914307858856c SHA1 79915791cf4c58be4c2184af4f2a3f03939b81d3 SHA256 de6f248192c983802ec3447fab4c1e59227cab5228ac12979a8e433a6a82cf4c diff --git a/media-tv/pvr/metadata.xml b/media-tv/pvr/metadata.xml new file mode 100644 index 0000000..f7dab60 --- /dev/null +++ b/media-tv/pvr/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>underlay</herd> +<maintainer> + <email>pvr@aperiplus.co.uk</email> + <description>Simple command-line pvr.</description> +</maintainer> +<longdescription>A simple, command-line personal video recorder for gentoo. Record, repair, and transcode.</longdescription> +</pkgmetadata> diff --git a/media-tv/pvr/pvr-0.1.0.ebuild b/media-tv/pvr/pvr-0.1.0.ebuild new file mode 100644 index 0000000..1fa64e8 --- /dev/null +++ b/media-tv/pvr/pvr-0.1.0.ebuild @@ -0,0 +1,44 @@ +EAPI=2 +inherit eutils +DESCRIPTION="gentoo system management" +HOMEPAGE="" +SRC_URI="http://www.aperiplus.co.uk/downloads/src/${P}.tar.bz2" +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="x86 amd64" +IUSE="" + +#DEPEND="" + +RDEPEND="app-misc/bashfun + media-video/mplayer + media-video/projectx" + +src_install() { + dodir '/opt/pvr' || die "out of cheese error 1" + insinto '/opt/gentool' || die "out of cheese error 2" + cp -ar ${S}'/opt/pvr/'* ${D}'/opt/pvr/' || die "out of cheese error 3" + dodir '/etc/pvr' || die "out of cheese error 4" + insinto '/etc/pvr' || die "out of cheese error 5" + doins ${S}'/etc/pvr/config.sh' || die "out of cheese error 6" +} + +pkg_postinst() { + if [ ! -f /opt/bin/gentool ] + then + cd /opt/bin + ln -s /opt/gentool/bin/gentool.sh gentool + fi + + path_minus_opt_bin=`echo $PATH | sed 's~/opt/bin:~~g'` + if [ $PATH = $path_minus_opt_bin ] + then + ewarn + ewarn '/opt/bin is not in your $PATH!' + ewarn '(gentool is installed at /opt/bin/gentool)' + ewarn + fi + ewarn + ewarn 'you may want to edit /etc/gentool/config.sh now - just follow instructions in the file' + ewarn +} |