# Contributor: Valery Kartel <valery.kartel@gmail.com> # Maintainer: Valery Kartel <valery.kartel@gmail.com> setvar pkgname = 'tanidvr' setvar pkgver = '1.4.1' setvar pkgrel = '0' setvar pkgdesc = ""a CLI tool for accessing DVRs and IP cameras based on the proprietary DVR-IP protocol (port 37777/TCP)"" setvar url = ""http://tanidvr.sourceforge.net"" setvar arch = ""all"" setvar license = ""GPL3"" setvar depends = '' setvar depends_dev = '' setvar makedepends = '' setvar install = '' setvar subpackages = ""$pkgname-dhav2mkv"" setvar source = ""http://downloads.sourceforge.net/project/$pkgname/TaniDVR/$pkgname-$pkgver/$pkgname-$pkgver.tar.bz2"" setvar builddir = ""$srcdir"/$pkgname-$pkgver" proc build { cd $builddir ./configure --prefix=/usr || return 1 make || return 1 } proc package { cd $builddir make DESTDIR="$pkgdir" install || return 1 } proc dhav2mkv { setvar pkgdesc = ""a CLI tool for converting .dhav/.dav video files only playable with the proprietary Dahua player"" install -d "$subpkgdir"/usr/bin mv "$pkgdir"/usr/bin/dhav2mkv "$subpkgdir"/usr/bin } setvar md5sums = ""b0acaaa156560676d864d2826f5fcbf8 tanidvr-1.4.1.tar.bz2"" setvar sha256sums = ""149b075a60625ca23a96d71b46db6ed42e1b10d08366d6891f569c558de33c47 tanidvr-1.4.1.tar.bz2"" setvar sha512sums = ""49d5416a754b9d5ab80ad02d516bf842b8f6eeb69d2bd72f529ade226de573a3fea77774d0467edce5518f2cd02963d6e9c75eceeb42e47af60212184eaf7c39 tanidvr-1.4.1.tar.bz2""