Commit 8f0450fe authored by Carlo Landmeter's avatar Carlo Landmeter

testing/vlc-htsp-plugin: new aport

parent 6c59d11a
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=vlc-htsp-plugin
pkgver=20140304
_id=9beb30a2d77e9d11f26e2868eca134e6734abb2e
pkgrel=0
pkgdesc="Plugin for VLC to access TVHeadend via HTSP"
url="https://github.com/BtbN/vlc-htsp-plugin"
arch="all"
license="GPL"
depends=""
depends_dev=""
makedepends="vlc-dev"
install=""
subpackages=""
source="$pkgname-$pkgver.tar.gz::https://github.com/BtbN/vlc-htsp-plugin/archive/$_id.tar.gz
support-bb-install.patch"
_builddir="$srcdir"/$pkgname-$_id
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
}
md5sums="d6c04c3ea63d1ffd5e41b04d72d91090 vlc-htsp-plugin-20140304.tar.gz
c54a463f5a153ad537803f69af479ff6 support-bb-install.patch"
sha256sums="e02b4544b62b4a11f0299e677497735dfda755002ce709ee74777631bd2e2e87 vlc-htsp-plugin-20140304.tar.gz
27caf87352c10b3a0cc804cb9cdd8a27afba986df5b36576513683d9f12f32ac support-bb-install.patch"
sha512sums="cf5cfc01760f388fcd754c57c3c397ddd95c81caaa8283922ddd0789166e59fe8a128bd755a2eb3bda19874ad18fa71795f26eab8e6454693018535364b6fb47 vlc-htsp-plugin-20140304.tar.gz
655bee8c2cd1deaee0cef100dfdb8aa29d27eae6e21b431915eafab4786aaae6b231a69a31397fa58ef98b8839f9df42091a61311da8e8543f8f6313c8403267 support-bb-install.patch"
--- a/Makefile.orig
+++ b/Makefile
@@ -30,7 +30,7 @@
install: all
mkdir -p -- $(DESTDIR)$(plugindir)/access
- $(INSTALL) --mode 0755 libhtsp_plugin.so $(DESTDIR)$(plugindir)/access
+ $(INSTALL) -m 0755 libhtsp_plugin.so $(DESTDIR)$(plugindir)/access
install-strip:
$(MAKE) install INSTALL="$(INSTALL) -s"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment