commit e32ac5552d60190e0ae14b6b79fb7bf10c713e90
parent 3ea5bc5183e88dfc8f1dd35536afb380ac9c367c
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Thu, 5 Jun 2014 16:30:17 +0200
add libid3tag
Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
Diffstat:
5 files changed, 36 insertions(+), 0 deletions(-)
diff --git a/libid3tag/checksums b/libid3tag/checksums
@@ -0,0 +1 @@
+ade7ce2a43c3646b4c9fdc642095174b9d4938b078b205cd40906d525acd17e87ad76064054a961f391edcba6495441450af2f68be69f116549ca666b069e6d3 libid3tag-0.15.1b.tar.gz
diff --git a/libid3tag/depsinc.mk b/libid3tag/depsinc.mk
@@ -0,0 +1,6 @@
+<$libid3tag_DEPDIR/v.mk
+
+libid3tag_libdir = $libid3tag_DEPDIR/libid3tag-$v/lib/lib
+libid3tag_includedir = $libid3tag_DEPDIR/libid3tag-$v/lib/include
+DEPS_CFLAGS = $DEPS_CFLAGS -I${libid3tag_includedir}
+DEPS_LDFLAGS = $DEPS_LDFLAGS -L${libid3tag_libdir} -lid3tag
diff --git a/libid3tag/libid3tag.mk b/libid3tag/libid3tag.mk
@@ -0,0 +1,22 @@
+TARG = libid3tag
+DEPS = zlib
+
+<$mkbuild/mk.common-noinst
+
+libid3tag: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/libid3tag/mkfile b/libid3tag/mkfile
@@ -0,0 +1,6 @@
+<$mkbuild/mk.3rdparty
+
+<v.mk
+src = libid3tag-$v
+url = ftp://ftp.mars.org/pub/mpeg/libid3tag-$v.tar.gz
+mkfile = ../libid3tag.mk
diff --git a/libid3tag/v.mk b/libid3tag/v.mk
@@ -0,0 +1 @@
+v = 0.15.1b