From 219a6dab8995aad9ac4860cc1a84d6f3509a03a4 Mon Sep 17 00:00:00 2001 From: wbx Date: Sun, 17 May 2009 14:41:34 +0200 Subject: Initial import --- package/libmad/Makefile | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 package/libmad/Makefile (limited to 'package/libmad/Makefile') diff --git a/package/libmad/Makefile b/package/libmad/Makefile new file mode 100644 index 000000000..55242169d --- /dev/null +++ b/package/libmad/Makefile @@ -0,0 +1,43 @@ +# $Id$ +#- +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +include ${TOPDIR}/rules.mk + +PKG_NAME:= libmad +PKG_VERSION:= 0.15.1b +PKG_RELEASE:= 1 +PKG_MD5SUM:= 1be543bc30c56fb6bea1d7bf6a64e66c + +MASTER_SITES:= ${MASTER_SITE_SOURCEFORGE:=mad/} \ + ftp://ftp.mars.org/pub/mpeg/ + +include ${TOPDIR}/mk/package.mk + +$(eval $(call PKG_template,LIBMAD,libmad,${PKG_VERSION}-${PKG_RELEASE},${ARCH})) + +FPM:=default +ifeq (${ARCH},i386) +FPM:=intel +endif +ifeq (${ARCH},mips) +FPM:=mips +endif + +CONFIGURE_STYLE= gnu +CONFIGURE_ARGS+= --enable-fpm=${FPM} \ + --disable-debugging \ + --enable-speed +BUILD_STYLE= auto +INSTALL_STYLE= auto confprog + +pre-install: + ${INSTALL_DIR} ${WRKINST}/usr/lib/pkgconfig + ${CP} ./files/mad.pc ${WRKINST}/usr/lib/pkgconfig + +post-install: + ${INSTALL_DIR} ${IDIR_LIBMAD}/usr/lib + ${CP} ${WRKINST}/usr/lib/libmad.so.* ${IDIR_LIBMAD}/usr/lib/ + +include ${TOPDIR}/mk/pkg-bottom.mk -- cgit v1.2.3