Skip to contentSkip to conversation

svn commit: trunk/buildroot/package: popt

Buildroot nkukard at uclibc.org 3 participants 3 messages Apr 12, 2008

lore
Share & tools
lore
#0 lore raw

Author: nkukard
Date: 2008-04-12 02:51:21 -0700 (Sat, 12 Apr 2008) New Revision: 21716

Log:
* Added popt

Added:
trunk/buildroot/package/popt/ trunk/buildroot/package/popt/Config.in trunk/buildroot/package/popt/popt-1.14_no-wchar.patch trunk/buildroot/package/popt/popt.mk

Modified:
trunk/buildroot/package/Config.in

Changeset:
Modified: trunk/buildroot/package/Config.in
===================================================================

buildroot/package/Config.in +1 -0
@@ -93,6 +93,7 @@
 source "package/modutils/Config.in"
 endif
 source "package/ng-spice-rework/Config.in"
+source "package/popt/Config.in"
 source "package/portage/Config.in"
 if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
 source "package/procps/Config.in"

Added: trunk/buildroot/package/popt/Config.in
===================================================================

buildroot/package/popt/Config.in +7 -0
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_POPT
+	bool "popt"
+	default n
+	help
+	  Popt is a C library for parsing command line parameters.
+
+	  http://rpm5.org

Added: trunk/buildroot/package/popt/popt-1.14_no-wchar.patch
===================================================================

buildroot/package/popt/popt-1.14_no-wchar.patch +12 -0
@@ -0,0 +1,12 @@
+diff -ru popt-1.14_vanilla/popthelp.c popt-1.14_no-wchar/popthelp.c
+--- popt-1.14_vanilla/popthelp.c	2008-03-27 17:33:08.000000000 +0000
++++ popt-1.14_no-wchar/popthelp.c	2008-04-10 05:44:43.000000000 +0000
+@@ -15,7 +15,7 @@
+ #include <sys/ioctl.h>
+ #endif
+ 
+-#define	POPT_WCHAR_HACK
++/* #define	POPT_WCHAR_HACK */
+ #ifdef 	POPT_WCHAR_HACK
+ #include <wchar.h>			/* for mbsrtowcs */
+ /*@access mbstate_t @*/

Added: trunk/buildroot/package/popt/popt.mk
===================================================================

buildroot/package/popt/popt.mk +20 -0
@@ -0,0 +1,20 @@
+#############################################################
+#
+# popt
+#
+#############################################################
+POPT_VERSION = 1.14
+POPT_SITE = http://rpm5.org/files/popt
+POPT_INSTALL_STAGING = YES
+
+
+POPT_CONF_ENV = ac_cv_va_copy=yes 
+
+
+POPT_CONF_OPT = --target=$(GNU_TARGET_NAME) --host=$(REAL_GNU_TARGET_NAME) \
+		--build=$(GNU_HOST_NAME) --prefix=/usr
+
+POPT_INSTALL_TARGET_OPT=DESTDIR=$(TARGET_DIR) install
+
+
+$(eval $(call AUTOTARGETS,package,popt))
#1 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"nkukard" == nkukard <[email protected]> writes:

nkukard> Author: nkukard
nkukard> Date: 2008-04-12 02:51:21 -0700 (Sat, 12 Apr 2008) nkukard> New Revision: 21716

nkukard> Log:
nkukard> * Added popt

...

nkukard> Added: trunk/buildroot/package/popt/Config.in
nkukard> ===================================================================
nkukard> --- trunk/buildroot/package/popt/Config.in (rev 0)
nkukard> +++ trunk/buildroot/package/popt/Config.in 2008-04-12 09:51:21 UTC (rev 21716)
nkukard> @@ -0,0 +1,7 @@
nkukard> +config BR2_PACKAGE_POPT
nkukard> + bool "popt"
nkukard> + default n
nkukard> + help
nkukard> + Popt is a C library for parsing command line parameters.
nkukard> +
nkukard> + http://rpm5.org

I was just about to tell you that you've screwed up the URL once more, but this time it's right it seems ;)

Signature · 1 line
Bye, Peter Korsgaard
#2 lore raw
Quoted 11 lines

nkukard> +config BR2_PACKAGE_POPT
nkukard> + bool "popt"
nkukard> + default n
nkukard> + help
nkukard> + Popt is a C library for parsing command line parameters.
nkukard> +
nkukard> + http://rpm5.org

I was just about to tell you that you've screwed up the URL once more, but this time it's right it seems ;)

Most the urls I add come from people telling me to use those URL's in the channels on IRC ;), I use the official sites from now on regardless.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://busybox.net/lists/buildroot/attachments/20080412/5faf5ff3/attachment.pgp