summaryrefslogtreecommitdiff
path: root/package/libid3tag
diff options
context:
space:
mode:
authorwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
committerwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
commit219a6dab8995aad9ac4860cc1a84d6f3509a03a4 (patch)
treeb9c0f3c43aebba2fcfef777592d0add39f2072f4 /package/libid3tag
Initial import
Diffstat (limited to 'package/libid3tag')
-rw-r--r--package/libid3tag/Config.in13
-rw-r--r--package/libid3tag/Makefile32
-rw-r--r--package/libid3tag/files/id3tag.pc11
-rw-r--r--package/libid3tag/ipkg/libid3tag.control5
4 files changed, 61 insertions, 0 deletions
diff --git a/package/libid3tag/Config.in b/package/libid3tag/Config.in
new file mode 100644
index 000000000..e61f46e76
--- /dev/null
+++ b/package/libid3tag/Config.in
@@ -0,0 +1,13 @@
+config ADK_PACKAGE_LIBID3TAG
+ prompt "libid3tag......................... An ID3 tag manipulation library"
+ tristate
+ default n
+ select ADK_PACKAGE_ZLIB
+ help
+ libid3tag is a library for reading and (eventually) writing ID3 tags, both
+ ID3v1 and the various versions of ID3v2.
+
+ http://mad.sourceforge.net/
+
+ Depends: zlib
+
diff --git a/package/libid3tag/Makefile b/package/libid3tag/Makefile
new file mode 100644
index 000000000..0d1032c2b
--- /dev/null
+++ b/package/libid3tag/Makefile
@@ -0,0 +1,32 @@
+# $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:= libid3tag
+PKG_VERSION:= 0.15.1b
+PKG_RELEASE:= 1
+PKG_MD5SUM:= e5808ad997ba32c498803822078748c3
+MASTER_SITES:= ${MASTER_SITE_SOURCEFORGE:=mad/}
+
+include ${TOPDIR}/mk/package.mk
+
+$(eval $(call PKG_template,LIBID3TAG,libid3tag,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+
+CONFIGURE_STYLE= gnu
+CONFIGURE_ARGS+= --disable-debugging \
+ --disable-profiling
+BUILD_STYLE= auto
+INSTALL_STYLE= auto confprog
+
+pre-install:
+ ${INSTALL_DIR} ${WRKINST}/usr/lib/pkgconfig
+ ${CP} ./files/id3tag.pc ${WRKINST}/usr/lib/pkgconfig
+
+post-install:
+ ${INSTALL_DIR} ${IDIR_LIBID3TAG}/usr/lib
+ ${CP} ${WRKINST}/usr/lib/libid3tag.so.* ${IDIR_LIBID3TAG}/usr/lib/
+
+include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libid3tag/files/id3tag.pc b/package/libid3tag/files/id3tag.pc
new file mode 100644
index 000000000..e68600068
--- /dev/null
+++ b/package/libid3tag/files/id3tag.pc
@@ -0,0 +1,11 @@
+prefix=/usr
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+Name: id3tag
+Description: ID3 tag reading library
+Requires:
+Version: 0.15.0b
+Libs: -L${libdir} -lid3tag -lz
+Cflags: -I${includedir}
diff --git a/package/libid3tag/ipkg/libid3tag.control b/package/libid3tag/ipkg/libid3tag.control
new file mode 100644
index 000000000..ec9a75470
--- /dev/null
+++ b/package/libid3tag/ipkg/libid3tag.control
@@ -0,0 +1,5 @@
+Package: libid3tag
+Priority: optional
+Section: libs
+Depends: zlib
+Description: an ID3 tag manipulation library