mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-03 16:07:51 +00:00
dvb-tools: cleanup and use the "sysroot" build flag
This commit is contained in:
parent
2e74877c08
commit
85fd40c786
@ -9,7 +9,9 @@ PKG_SITE="https://bitbucket.org/majortom/blindscan-s2"
|
||||
PKG_URL="https://github.com/PLi-metas/blindscan-s2/archive/$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_LONGDESC="blindscan-s2 is a program to blindscan digital satellite signals"
|
||||
PKG_BUILD_FLAGS="-sysroot"
|
||||
|
||||
makeinstall_target() {
|
||||
:
|
||||
mkdir -p $INSTALL/usr/bin
|
||||
make install BIND=$INSTALL/usr/bin
|
||||
}
|
||||
|
@ -10,11 +10,8 @@ PKG_SITE="https://www.linuxtv.org/wiki/index.php/LinuxTV_dvb-apps"
|
||||
PKG_URL="http://linuxtv.org/hg/dvb-apps/archive/${PKG_VERSION}.tar.bz2"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_LONGDESC="Applications for initial setup, testing and operation of an DVB device supporting the DVB-S, DVB-C, DVB-T, and ATSC."
|
||||
PKG_BUILD_FLAGS="-sysroot"
|
||||
|
||||
pre_make_target() {
|
||||
export PERL_USE_UNSAFE_INC=1
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
:
|
||||
}
|
||||
|
@ -10,11 +10,9 @@ PKG_SITE="https://www.videolan.org/projects/dvblast.html"
|
||||
PKG_URL="http://repo.or.cz/dvblast.git/snapshot/${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain bitstream libev"
|
||||
PKG_LONGDESC="DVBlast is a simple and powerful MPEG-2/TS demux and streaming application"
|
||||
PKG_BUILD_FLAGS="-sysroot"
|
||||
|
||||
pre_configure_target() {
|
||||
export LDFLAGS="$LDFLAGS -lm"
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
:
|
||||
export PREFIX="/usr"
|
||||
}
|
||||
|
@ -10,7 +10,4 @@ PKG_URL="https://github.com/persianpros/dvbsnoop/archive/$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_LONGDESC="dvbsnoop is a DVB/MPEG stream analyzer program"
|
||||
PKG_TOOLCHAIN="autotools"
|
||||
|
||||
makeinstall_target() {
|
||||
:
|
||||
}
|
||||
PKG_BUILD_FLAGS="-sysroot"
|
||||
|
@ -10,7 +10,4 @@ PKG_URL="https://github.com/braice/MuMuDVB/archive/$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain libdvbcsa"
|
||||
PKG_LONGDESC="MuMuDVB (Multi Multicast DVB) is a program that streams from DVB on a network using multicasting or unicast"
|
||||
PKG_TOOLCHAIN="autotools"
|
||||
|
||||
makeinstall_target() {
|
||||
:
|
||||
}
|
||||
PKG_BUILD_FLAGS="-sysroot"
|
||||
|
@ -9,7 +9,9 @@ PKG_SITE="https://bitbucket.org/updatelee/tune-s2"
|
||||
PKG_URL="https://bitbucket.org/CrazyCat/szap-s2/get/$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_LONGDESC="szap-s2 is a simple zapping tool for the Linux DVB S2 API"
|
||||
PKG_BUILD_FLAGS="-sysroot"
|
||||
|
||||
makeinstall_target() {
|
||||
:
|
||||
mkdir -p $INSTALL/usr/bin
|
||||
make install BIND=$INSTALL/usr/bin
|
||||
}
|
||||
|
@ -9,7 +9,4 @@ PKG_SITE="https://github.com/mighty-p/t2scan"
|
||||
PKG_URL="https://github.com/mighty-p/t2scan/archive/$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_LONGDESC="A small channel scan tool which generates DVB-T/T2 channels.conf files."
|
||||
|
||||
makeinstall_target() {
|
||||
:
|
||||
}
|
||||
PKG_BUILD_FLAGS="-sysroot"
|
||||
|
@ -9,7 +9,9 @@ PKG_SITE="https://bitbucket.org/updatelee/tune-s2"
|
||||
PKG_URL="https://bitbucket.org/CrazyCat/tune-s2/get/$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_LONGDESC="tune-s2 is a small linux app to be able to tune a dvb devices"
|
||||
PKG_BUILD_FLAGS="-sysroot"
|
||||
|
||||
makeinstall_target() {
|
||||
:
|
||||
mkdir -p $INSTALL/usr/bin
|
||||
make install BIND=$INSTALL/usr/bin
|
||||
}
|
||||
|
@ -10,7 +10,4 @@ PKG_URL="http://wirbel.htpc-forum.de/$PKG_NAME/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_LONGDESC="A channel scan tool which generates ATSC, DVB-C, DVB-S/S2 and DVB-T channels.conf files."
|
||||
PKG_TOOLCHAIN="autotools"
|
||||
|
||||
makeinstall_target() {
|
||||
:
|
||||
}
|
||||
PKG_BUILD_FLAGS="-sysroot"
|
||||
|
@ -32,39 +32,39 @@ addon() {
|
||||
mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/bin/
|
||||
|
||||
# blindscan-s2
|
||||
cp -P $(get_build_dir blindscan-s2)/blindscan-s2 $ADDON_BUILD/$PKG_ADDON_ID/bin
|
||||
cp -P $(get_install_dir blindscan-s2)/usr/bin/blindscan-s2 $ADDON_BUILD/$PKG_ADDON_ID/bin
|
||||
|
||||
# dvb-apps
|
||||
cp -P $(get_build_dir dvb-apps)/util/dvbdate/dvbdate $ADDON_BUILD/$PKG_ADDON_ID/bin
|
||||
cp -P $(get_build_dir dvb-apps)/util/dvbnet/dvbnet $ADDON_BUILD/$PKG_ADDON_ID/bin
|
||||
cp -P $(get_build_dir dvb-apps)/util/dvbscan/dvbscan $ADDON_BUILD/$PKG_ADDON_ID/bin
|
||||
cp -P $(get_build_dir dvb-apps)/util/dvbtraffic/dvbtraffic $ADDON_BUILD/$PKG_ADDON_ID/bin
|
||||
cp -P $(get_build_dir dvb-apps)/util/femon/femon $ADDON_BUILD/$PKG_ADDON_ID/bin
|
||||
cp -P $(get_build_dir dvb-apps)/util/scan/scan $ADDON_BUILD/$PKG_ADDON_ID/bin
|
||||
cp -P $(get_build_dir dvb-apps)/util/szap/azap $ADDON_BUILD/$PKG_ADDON_ID/bin
|
||||
cp -P $(get_build_dir dvb-apps)/util/szap/czap $ADDON_BUILD/$PKG_ADDON_ID/bin
|
||||
cp -P $(get_build_dir dvb-apps)/util/szap/szap $ADDON_BUILD/$PKG_ADDON_ID/bin
|
||||
cp -P $(get_build_dir dvb-apps)/util/szap/tzap $ADDON_BUILD/$PKG_ADDON_ID/bin
|
||||
cp -P $(get_build_dir dvb-apps)/util/zap/zap $ADDON_BUILD/$PKG_ADDON_ID/bin
|
||||
cp -P $(get_install_dir dvb-apps)/usr/bin/dvbdate $ADDON_BUILD/$PKG_ADDON_ID/bin
|
||||
cp -P $(get_install_dir dvb-apps)/usr/bin/dvbnet $ADDON_BUILD/$PKG_ADDON_ID/bin
|
||||
cp -P $(get_install_dir dvb-apps)/usr/bin/dvbscan $ADDON_BUILD/$PKG_ADDON_ID/bin
|
||||
cp -P $(get_install_dir dvb-apps)/usr/bin/dvbtraffic $ADDON_BUILD/$PKG_ADDON_ID/bin
|
||||
cp -P $(get_install_dir dvb-apps)/usr/bin/femon $ADDON_BUILD/$PKG_ADDON_ID/bin
|
||||
cp -P $(get_install_dir dvb-apps)/usr/bin/scan $ADDON_BUILD/$PKG_ADDON_ID/bin
|
||||
cp -P $(get_install_dir dvb-apps)/usr/bin/azap $ADDON_BUILD/$PKG_ADDON_ID/bin
|
||||
cp -P $(get_install_dir dvb-apps)/usr/bin/czap $ADDON_BUILD/$PKG_ADDON_ID/bin
|
||||
cp -P $(get_install_dir dvb-apps)/usr/bin/szap $ADDON_BUILD/$PKG_ADDON_ID/bin
|
||||
cp -P $(get_install_dir dvb-apps)/usr/bin/tzap $ADDON_BUILD/$PKG_ADDON_ID/bin
|
||||
cp -P $(get_install_dir dvb-apps)/usr/bin/zap $ADDON_BUILD/$PKG_ADDON_ID/bin
|
||||
|
||||
# dvblast
|
||||
cp -P $(get_build_dir dvblast)/dvblast $ADDON_BUILD/$PKG_ADDON_ID/bin
|
||||
cp -P $(get_install_dir dvblast)/usr/bin/dvblast $ADDON_BUILD/$PKG_ADDON_ID/bin
|
||||
|
||||
# dvbsnoop
|
||||
cp -P $(get_build_dir dvbsnoop)/.$TARGET_NAME/src/dvbsnoop $ADDON_BUILD/$PKG_ADDON_ID/bin
|
||||
cp -P $(get_install_dir dvbsnoop)/usr/bin/dvbsnoop $ADDON_BUILD/$PKG_ADDON_ID/bin
|
||||
|
||||
# mumudvb
|
||||
cp -P $(get_build_dir mumudvb)/.$TARGET_NAME/src/mumudvb $ADDON_BUILD/$PKG_ADDON_ID/bin
|
||||
cp -P $(get_install_dir mumudvb)/usr/bin/mumudvb $ADDON_BUILD/$PKG_ADDON_ID/bin
|
||||
|
||||
# szap-s2
|
||||
cp -P $(get_build_dir szap-s2)/szap-s2 $ADDON_BUILD/$PKG_ADDON_ID/bin
|
||||
cp -P $(get_install_dir szap-s2)/usr/bin/szap-s2 $ADDON_BUILD/$PKG_ADDON_ID/bin
|
||||
|
||||
# tune-s2
|
||||
cp -P $(get_build_dir tune-s2)/tune-s2 $ADDON_BUILD/$PKG_ADDON_ID/bin
|
||||
cp -P $(get_install_dir tune-s2)/usr/bin/tune-s2 $ADDON_BUILD/$PKG_ADDON_ID/bin
|
||||
|
||||
# t2scan
|
||||
cp -P $(get_build_dir t2scan)/.$TARGET_NAME/t2scan $ADDON_BUILD/$PKG_ADDON_ID/bin
|
||||
cp -P $(get_install_dir t2scan)/usr/bin/t2scan $ADDON_BUILD/$PKG_ADDON_ID/bin
|
||||
|
||||
# w_scan
|
||||
cp -P $(get_build_dir w_scan)/.$TARGET_NAME/w_scan $ADDON_BUILD/$PKG_ADDON_ID/bin
|
||||
cp -P $(get_install_dir w_scan)/usr/bin/w_scan $ADDON_BUILD/$PKG_ADDON_ID/bin
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user