300f9c9c9d
Thanks to the pkgparentdir and pkgname functions, we can rewrite the AUTOTARGETS macro in a way that avoids the need for each package to repeat its name and the directory in which it is present. [Peter: pkgdir->pkgparentdir] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
21 lines
536 B
Makefile
21 lines
536 B
Makefile
#############################################################
|
|
#
|
|
# libtheora
|
|
#
|
|
#############################################################
|
|
LIBTHEORA_VERSION = 1.1.1
|
|
LIBTHEORA_SOURCE = libtheora-$(LIBTHEORA_VERSION).tar.bz2
|
|
LIBTHEORA_SITE = http://downloads.xiph.org/releases/theora
|
|
LIBTHEORA_INSTALL_STAGING = YES
|
|
|
|
LIBTHEORA_CONF_OPT = \
|
|
--disable-oggtest \
|
|
--disable-vorbistest \
|
|
--disable-sdltest \
|
|
--disable-examples \
|
|
--disable-spec
|
|
|
|
LIBTHEORA_DEPENDENCIES = libogg libvorbis host-pkg-config
|
|
|
|
$(eval $(call AUTOTARGETS))
|