2009-12-30 02:18:54 +01:00
|
|
|
# Template file for 'libdvdnav'
|
|
|
|
pkgname=libdvdnav
|
2014-09-18 21:45:40 +02:00
|
|
|
version=4.2.1
|
|
|
|
revision=1
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2013-12-18 15:24:19 +01:00
|
|
|
configure_args="--with-dvdread-config=/bin/true"
|
2014-09-18 21:45:40 +02:00
|
|
|
hostmakedepends="libtool automake pkg-config"
|
2013-04-13 10:15:49 +02:00
|
|
|
makedepends="libdvdread-devel"
|
2009-12-30 02:18:54 +01:00
|
|
|
short_desc="Library to navigate DVDs"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-02-09 15:14:23 +01:00
|
|
|
license="GPL-2"
|
2013-04-13 10:15:49 +02:00
|
|
|
homepage="http://dvdnav.mplayerhq.hu/"
|
2014-09-18 21:45:40 +02:00
|
|
|
distfiles="http://dvdnav.mplayerhq.hu/releases/$pkgname-$version.tar.xz"
|
|
|
|
checksum=7fca272ecc3241b6de41bbbf7ac9a303ba25cb9e0c82aa23901d3104887f2372
|
2013-12-18 15:24:19 +01:00
|
|
|
|
|
|
|
CFLAGS+="-I${XBPS_CROSS_BASE}/usr/include"
|
|
|
|
LDFLAGS+="-L${XBPS_CROSS_BASE}/usr/lib -ldvdread"
|
2009-12-30 02:18:54 +01:00
|
|
|
|
2012-02-09 15:14:23 +01:00
|
|
|
pre_configure() {
|
2013-12-18 15:24:19 +01:00
|
|
|
NOCONFIGURE=1 ./autogen.sh
|
2009-12-30 02:18:54 +01:00
|
|
|
}
|
2013-04-13 10:15:49 +02:00
|
|
|
|
|
|
|
libdvdnav-devel_package() {
|
2013-12-18 15:24:19 +01:00
|
|
|
depends="libdvdread-devel libdvdnav>=${version}_${revision}"
|
|
|
|
short_desc+=" - development files"
|
2013-04-13 10:15:49 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/bin
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/share
|
|
|
|
vmove usr/lib/pkgconfig
|
2013-12-18 15:24:19 +01:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-13 10:15:49 +02:00
|
|
|
}
|
|
|
|
}
|