forked from ports/contrib
28 lines
656 B
Plaintext
Executable File
28 lines
656 B
Plaintext
Executable File
# Description: DVD Navigation library.
|
|
# URL: http://dvd.sourceforge.net/
|
|
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
|
|
# Packager: Matt Housh, jaeger at morpheus dot net
|
|
# Depends on: libdvdcss
|
|
|
|
name=libdvdnav
|
|
version=r1000
|
|
release=1
|
|
source=(http://www.dcaf-security.org/distfiles/libdvdnav-snapshot-$version.tar.bz2)
|
|
|
|
build() {
|
|
cd libdvdnav
|
|
# -O3 is used in the Makefile
|
|
CFLAGS="`echo $CFLAGS | sed -e 's/-O[s0-3] //'`"
|
|
CXXFLAGS="`echo $CXXFLAGS | sed -e 's/-O[s0-3] //'`"
|
|
export CFLAGS CXXFLAGS
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--disable-static \
|
|
--disable-debug
|
|
|
|
make DESTDIR=$PKG install
|
|
chmod a-x $PKG/usr/lib/*.so
|
|
}
|
|
|