summaryrefslogtreecommitdiff
path: root/package/popt
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/popt
Initial import
Diffstat (limited to 'package/popt')
-rw-r--r--package/popt/Config.in14
-rw-r--r--package/popt/Makefile26
-rw-r--r--package/popt/ipkg/libpopt.control4
3 files changed, 44 insertions, 0 deletions
diff --git a/package/popt/Config.in b/package/popt/Config.in
new file mode 100644
index 000000000..554cd3b32
--- /dev/null
+++ b/package/popt/Config.in
@@ -0,0 +1,14 @@
+config ADK_COMPILE_POPT
+ tristate
+ depends ADK_PACKAGE_LIBPOPT
+
+config ADK_PACKAGE_LIBPOPT
+ prompt "libpopt........................... Command line option parsing library"
+ tristate
+ default n
+ select ADK_COMPILE_POPT
+ help
+ A command line option parsing library
+
+ ftp://ftp.rpm.org/pub/rpm/dist/rpm-4.1.x/
+
diff --git a/package/popt/Makefile b/package/popt/Makefile
new file mode 100644
index 000000000..872a00fc2
--- /dev/null
+++ b/package/popt/Makefile
@@ -0,0 +1,26 @@
+# $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:= popt
+PKG_VERSION:= 1.15
+PKG_RELEASE:= 1
+PKG_MD5SUM:= c61ef795fa450eb692602a661ec8d7f1
+MASTER_SITES:= http://rpm5.org/files/popt/
+
+include ${TOPDIR}/mk/package.mk
+
+$(eval $(call PKG_template,LIBPOPT,libpopt,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+
+CONFIGURE_STYLE:= gnu
+BUILD_STYLE:= auto
+INSTALL_STYLE:= auto
+
+post-install:
+ ${INSTALL_DIR} ${IDIR_LIBPOPT}/usr/lib
+ ${CP} ${WRKINST}/usr/lib/libpopt.so.* ${IDIR_LIBPOPT}/usr/lib/
+
+include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/popt/ipkg/libpopt.control b/package/popt/ipkg/libpopt.control
new file mode 100644
index 000000000..280d67344
--- /dev/null
+++ b/package/popt/ipkg/libpopt.control
@@ -0,0 +1,4 @@
+Package: libpopt
+Priority: optional
+Section: libs
+Description: a command line option parsing library