void-packages/srcpkgs/libquvi/template

46 lines
1.4 KiB
Text
Raw Normal View History

2011-10-24 13:41:44 +00:00
# Template file for 'libquvi'
pkgname=libquvi
2012-05-07 09:32:15 +00:00
version=0.4.1
2013-10-10 09:57:19 +00:00
revision=5
2011-10-24 13:41:44 +00:00
build_style=gnu-configure
2013-10-02 12:22:40 +00:00
configure_args="ac_cv_func_malloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes"
hostmakedepends="pkg-config"
2013-10-10 09:57:19 +00:00
makedepends="lua-devel>=5.2 libcurl-devel libquvi-scripts>=0.4.1"
2011-10-24 13:41:44 +00:00
short_desc="C library that can be used to parse flash media stream URLs"
maintainer="Juan RP <xtraeme@gmail.com>"
license="LGPL-2.1"
homepage="http://quvi.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/quvi/$pkgname-$version.tar.gz"
2012-05-07 09:32:15 +00:00
checksum=143c92b065b7ddc2ac87c4b9679ee99df0f1dccd2d0dbda15da0a54ae280dec8
2011-10-24 13:41:44 +00:00
long_desc="
It originates from the idea of working around the flash requirement found
on many media hosting websites (e.g. YouTube).
* Parses additional media details (e.g. media title, media ID)
* Supported platforms include Linux, *BSD systems
* C library: Fast and low system footprint
* Easy to extend: uses lua for scripting
* Supports 40+ websites
* C API is simple to use"
libquvi-devel_package() {
2013-10-10 09:57:19 +00:00
depends="libcurl-devel lua-devel>=5.2 libquvi>=${version}_${revision}"
2013-10-02 12:22:40 +00:00
short_desc+=" - development files"
replaces="quvi-devel<0.4.0"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
2013-10-02 12:22:40 +00:00
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
vmove usr/share
}
}
2011-10-24 13:41:44 +00:00
libquvi_package() {
depends="libquvi-scripts>=${version}"
replaces="quvi<0.4.0"
pkg_install() {
2013-10-02 12:22:40 +00:00
vmove all
}
}