ports

morpheus ports
git clone git://git.2f30.org/ports
Log | Files | Refs | LICENSE

commit 3ea5bc5183e88dfc8f1dd35536afb380ac9c367c
parent 9f74c2b90d78937a5746b5f7671dfbba171974d1
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Thu,  5 Jun 2014 16:29:59 +0200

add libmad

Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>

Diffstat:
Alibmad/checksums | 1+
Alibmad/depsinc.mk | 6++++++
Alibmad/libmad.mk | 21+++++++++++++++++++++
Alibmad/mkfile | 6++++++
Alibmad/v.mk | 1+
5 files changed, 35 insertions(+), 0 deletions(-)

diff --git a/libmad/checksums b/libmad/checksums @@ -0,0 +1 @@ +2cad30347fb310dc605c46bacd9da117f447a5cabedd8fefdb24ab5de641429e5ec5ce8af7aefa6a75a3f545d3adfa255e3fa0a2d50971f76bc0c4fc0400cc45 libmad-0.15.1b.tar.gz diff --git a/libmad/depsinc.mk b/libmad/depsinc.mk @@ -0,0 +1,6 @@ +<$libmad_DEPDIR/v.mk + +libmad_libdir = $libmad_DEPDIR/libmad-$v/lib/lib +libmad_includedir = $libmad_DEPDIR/libmad-$v/lib/include +DEPS_CFLAGS = $DEPS_CFLAGS -I${libmad_includedir} +DEPS_LDFLAGS = $DEPS_LDFLAGS -L${libmad_libdir} -lmad diff --git a/libmad/libmad.mk b/libmad/libmad.mk @@ -0,0 +1,21 @@ +TARG = libmad + +<$mkbuild/mk.common-noinst + +libmad:QV: + # +# export CFLAGS="$CFLAGS $DEPS_CFLAGS" +# export LDFLAGS="$LDFLAGS $DEPS_LDFLAGS" + CC="$CC" ./configure \ + --prefix="$prefix" \ + --mandir="$ROOT/share/man" \ + --disable-shared \ + --enable-static + make -j$nprocs + # install lib for use as a dependency. + make -j$nprocs install DESTDIR=`pwd`/lib + # remove .la files for now ? + find `pwd`/lib -iname "*.la" -exec rm {} \; + +install:QV: + make -j$nprocs install DESTDIR="$ROOT" diff --git a/libmad/mkfile b/libmad/mkfile @@ -0,0 +1,6 @@ +<$mkbuild/mk.3rdparty + +<v.mk +src = libmad-$v +url = ftp://ftp.mars.org/pub/mpeg/libmad-$v.tar.gz +mkfile = ../libmad.mk diff --git a/libmad/v.mk b/libmad/v.mk @@ -0,0 +1 @@ +v = 0.15.1b