From 2f93df76863f300b87cf8a2de4f707e781894067 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 26 May 2014 08:51:49 +0200 Subject: [PATCH] librtlsdr: incorrect rdeps in -devel pkg; indentation; simplify. --- srcpkgs/librtlsdr/template | 33 ++++++++++++++------------------- 1 file changed, 14 insertions(+), 19 deletions(-) diff --git a/srcpkgs/librtlsdr/template b/srcpkgs/librtlsdr/template index 32413fc878d..598603aad66 100644 --- a/srcpkgs/librtlsdr/template +++ b/srcpkgs/librtlsdr/template @@ -1,7 +1,7 @@ # Template file for 'librtlsdr' pkgname=librtlsdr version=0.5.3 -revision=1 +revision=2 build_style=cmake maintainer="Carlo Dormeletti " homepage="http://sdr.osmocom.org/trac/wiki/rtl-sdr" @@ -13,28 +13,23 @@ distfiles="https://github.com/steve-m/${pkgname}/archive/v${version}.tar.gz" checksum="98fb5c34ac94d6f2235a0bb41a08f8bed7949e1d1b91ea57a7c1110191ea58de" librtlsdr-devel_package() { - short_desc+=" - development files" - depends="${pkgname}>=${version}_${revision}" - pkg_install() { - vmove usr/include - vmove usr/lib/pkgconfig - vmove "usr/lib/*.a" - vmove "usr/lib/*.so" - } + short_desc+=" - development files" + depends="${sourcepkg}>=${version}_${revision}" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.a" + vmove "usr/lib/*.so" + } } rtl-sdr_package() { - short_desc+=" - helper and test programs" - #depends="${pkgname}>=${version}_${revision}" - pkg_install() { - vmove usr/bin - } + short_desc+=" - helper and test programs" + pkg_install() { + vmove usr/bin + } } post_install(){ - mkdir -p ${DESTDIR}/usr/lib/udev/rules.d - cp ${wrksrc}/rtl-sdr.rules ${DESTDIR}/usr/lib/udev/rules.d/53-rtl-sdr.rules + vinstall rtl-sdr.rules 644 usr/lib/udev/rules.d 53-rtl-sdr.rules } - - -