summaryrefslogtreecommitdiff
path: root/media-tv/p2pvr
diff options
context:
space:
mode:
Diffstat (limited to 'media-tv/p2pvr')
-rw-r--r--media-tv/p2pvr/Manifest2
-rw-r--r--media-tv/p2pvr/p2pvr-926.ebuild56
2 files changed, 58 insertions, 0 deletions
diff --git a/media-tv/p2pvr/Manifest b/media-tv/p2pvr/Manifest
index 9131ca5..e37e76a 100644
--- a/media-tv/p2pvr/Manifest
+++ b/media-tv/p2pvr/Manifest
@@ -1,2 +1,4 @@
DIST p2pvr-915.tar.bz2 1389413 SHA256 6f0bdd80a8da2345817df9d6a3a7f8148d3f1011f6ff47b476a791303f18efee SHA512 f85dbcaa390326631ce9eacc07e3ddf9e87af1abf7a07a4621f65f041d86c8a3b611a424bda88ca7cf4442a2b95182ebbfc02d62d8635898082c0cf310d508fc WHIRLPOOL 36763c1ab59e556b636e820e6a6e3c6aaaf985ccdfd400102522569a569859ed1410457a76a6a29deb099171907275e351e1971997b2952a828bca5e76679455
+DIST p2pvr-926.tar.bz2 1391974 SHA256 2090021a5a91f4f5807ee0417826456f161aa87476078e461422155c4d652a21 SHA512 2c1f644a44bf2e6bf2424659c32bd1abb5d5038ddd8b364e60f2c27526eab81a8f2ba4e092b7b3433498351fb934ae6e2cabba10f017d02753b39d76e324aaa8 WHIRLPOOL cc0ca4df8ab8c53209b8357d9bbc1acbfcd037f69ea2019869d50a1dd4b3ac770b8825f4227ae1e54cac0270171cbc3605bb9e9a71a0bc4bff73703509212a1a
EBUILD p2pvr-915.ebuild 1252 SHA256 e30c6c9989979b54329e13a88fca3ed3a3f46f63ccbc60a0317a32b89a67cb05 SHA512 9b30ce11877c847aa1280ca08f505204637a7fa8b23f7d23c134d6e4a207207f5329f7378e541976dbc3482aa113224b811f5fa34e6cc7dc2a11a83f8b0d57f3 WHIRLPOOL 414d689931d80b20a284190586b55d1ae7a278461864b8c8dd836e4a97f2a7659378365a8c8d9fad72e5c6e02db9f1d35ef96cf6d378cbd2e1af837aee8db114
+EBUILD p2pvr-926.ebuild 1252 SHA256 ba28fc891eb07de81ebe0b326ae16bef90db065ce4ac03694231c019efa9c3b9 SHA512 a8dd5f262a82075e64d4c9221cbf8ff587c9074078fc9caebd3891ac948c7bfe67746bc084105e762784c8a052ec1f527333e9e128cd7e3c094cf812f8b4ffb4 WHIRLPOOL 39ac039833ea44e30976c92e788219622c2ec54733953e7ce858251b052ffea88e5a17918fcc10b2ca405aae0ed0bc2f32e0cee41488237145ddc86fc3ce8182
diff --git a/media-tv/p2pvr/p2pvr-926.ebuild b/media-tv/p2pvr/p2pvr-926.ebuild
new file mode 100644
index 0000000..ed25268
--- /dev/null
+++ b/media-tv/p2pvr/p2pvr-926.ebuild
@@ -0,0 +1,56 @@
+EAPI=5
+
+inherit user
+
+DESCRIPTION="Project2 based lightweight PVR"
+HOMEPAGE="http://p2pvr.randomdan.homeip.net"
+
+SRC_URI="http://releases.randomdan.homeip.net/download/${P}.tar.bz2"
+LICENSE="GPL"
+SLOT="0"
+KEYWORDS="~amd64 ~x64"
+IUSE=""
+
+DEPEND="
+ dev-util/boost-build
+ >=dev-libs/Ice-3.5
+ >=www-apps/project2-922[postgres,daemon]
+"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ sed -ie "s|^using gcc .*|using gcc : : : <compileflags>\"${CXXFLAGS}\" <linkflags>\"${LDFLAGS}\" ;|" ${S}/Jamroot.jam
+}
+
+pkg_preinst() {
+ enewuser p2pvr -1 -1 /etc/p2pvr "video"
+}
+
+src_compile() {
+ BJAM=`ls -1 /usr/bin/bjam* | tail -1`
+ cd ${S}/p2pvr || die
+ setarch $(uname -m) -RL \
+ ${BJAM} variant=release ${BJAMOPTS} -q \
+ || die "Compile failed"
+}
+
+src_install() {
+ cd ${S}/p2pvr || die
+
+ dodoc doc/* || die
+ insinto /usr/share/p2pvr/ice || die
+ doins ice/*.ice || die
+ insinto /usr/share/p2pvr/sql || die
+ doins datasources/schema.sql || die
+ doinitd etc/init.d/* || die
+ insinto /etc/p2pvr || die
+ doins etc/p2config || die
+ insinto /etc/p2pvr/datasources || die
+ doins datasources/postgres.xml || die
+
+ BJAM=`ls -1 /usr/bin/bjam* | tail -1`
+ setarch $(uname -m) -RL \
+ ${BJAM} variant=release ${BJAMOPTS} -q install \
+ --prefix=${D}/usr \
+ || die "Installed failed"
+}