summaryrefslogtreecommitdiff
path: root/package/lame
diff options
context:
space:
mode:
Diffstat (limited to 'package/lame')
-rw-r--r--package/lame/Config.in12
-rw-r--r--package/lame/Config.in.lib7
-rw-r--r--package/lame/Makefile29
-rw-r--r--package/lame/ipkg/lame.control5
-rw-r--r--package/lame/ipkg/liblame.control4
5 files changed, 57 insertions, 0 deletions
diff --git a/package/lame/Config.in b/package/lame/Config.in
new file mode 100644
index 000000000..40d9e5b9e
--- /dev/null
+++ b/package/lame/Config.in
@@ -0,0 +1,12 @@
+config ADK_COMPILE_LAME
+ boolean
+ default n
+ help
+
+config ADK_PACKAGE_LAME
+ prompt "lame.............................. MP3 encoder"
+ tristate
+ default n
+ select ADK_COMPILE_LAME
+ help
+ http://lame.sourceforge.net
diff --git a/package/lame/Config.in.lib b/package/lame/Config.in.lib
new file mode 100644
index 000000000..5e0cee53d
--- /dev/null
+++ b/package/lame/Config.in.lib
@@ -0,0 +1,7 @@
+config ADK_PACKAGE_LIBLAME
+ prompt "liblame........................... MP3 encoding library"
+ tristate
+ default n
+ select ADK_COMPILE_LAME
+ help
+ http://lame.sourceforge.net
diff --git a/package/lame/Makefile b/package/lame/Makefile
new file mode 100644
index 000000000..f60c0eaa8
--- /dev/null
+++ b/package/lame/Makefile
@@ -0,0 +1,29 @@
+# $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:= lame
+PKG_VERSION:= 398-2
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 719dae0ee675d0c16e0e89952930ed35
+MASTER_SITES:= ${MASTER_SITE_SOURCEFORGE:=lame/}
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,LAME,lame,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
+$(eval $(call PKG_template,LIBLAME,liblame,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
+
+CONFIGURE_STYLE= gnu
+BUILD_STYLE= auto
+INSTALL_STYLE= auto
+
+post-install:
+ $(INSTALL_DIR) $(IDIR_LAME)/usr/bin
+ $(INSTALL_BIN) $(WRKINST)/usr/bin/lame $(IDIR_LAME)/usr/bin/
+ $(INSTALL_DIR) $(IDIR_LIBLAME)/usr/lib
+ $(CP) $(WRKINST)/usr/lib/lib*.so* $(IDIR_LIBLAME)/usr/lib
+
+include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/lame/ipkg/lame.control b/package/lame/ipkg/lame.control
new file mode 100644
index 000000000..605416094
--- /dev/null
+++ b/package/lame/ipkg/lame.control
@@ -0,0 +1,5 @@
+Package: lame
+Priority: optional
+Section: sound
+Depends: ncurses
+Description: LAME MP3 encoder
diff --git a/package/lame/ipkg/liblame.control b/package/lame/ipkg/liblame.control
new file mode 100644
index 000000000..1ce78f175
--- /dev/null
+++ b/package/lame/ipkg/liblame.control
@@ -0,0 +1,4 @@
+Package: liblame
+Priority: optional
+Section: sound
+Description: LAME MP3 encoding library