diff options
Diffstat (limited to 'package/libs/popt')
-rw-r--r-- | package/libs/popt/.svn/entries | 65 | ||||
-rw-r--r-- | package/libs/popt/.svn/prop-base/Makefile.svn-base | 13 | ||||
-rw-r--r-- | package/libs/popt/.svn/text-base/Makefile.svn-base | 59 | ||||
-rw-r--r-- | package/libs/popt/Makefile | 59 | ||||
-rw-r--r-- | package/libs/popt/patches/.svn/entries | 62 | ||||
-rw-r--r-- | package/libs/popt/patches/.svn/text-base/002-no-intl.patch.svn-base | 81 | ||||
-rw-r--r-- | package/libs/popt/patches/002-no-intl.patch | 81 |
7 files changed, 420 insertions, 0 deletions
diff --git a/package/libs/popt/.svn/entries b/package/libs/popt/.svn/entries new file mode 100644 index 0000000..ef0e2c9 --- /dev/null +++ b/package/libs/popt/.svn/entries @@ -0,0 +1,65 @@ +10 + +dir +36060 +svn://svn.openwrt.org/openwrt/trunk/package/libs/popt +svn://svn.openwrt.org/openwrt + + + +2012-10-10T13:26:27.622493Z +33705 +nbd + + + + + + + + + + + + + + +3c298f89-4303-0410-b956-a3cf2f4a3e73 + +patches +dir + +Makefile +file + + + + +2013-03-17T12:13:08.000000Z +3b43d1e057fa5702952029e94747c2f5 +2012-06-11T21:18:33.553794Z +32206 +jow +has-props + + + + + + + + + + + + + + + + + + + + +1330 + diff --git a/package/libs/popt/.svn/prop-base/Makefile.svn-base b/package/libs/popt/.svn/prop-base/Makefile.svn-base new file mode 100644 index 0000000..f899379 --- /dev/null +++ b/package/libs/popt/.svn/prop-base/Makefile.svn-base @@ -0,0 +1,13 @@ +K 9 +copyright +V 30 +Copyright (C) 2006 OpenWrt.org +K 7 +licence +V 5 +GPLv2 +K 13 +svn:eol-style +V 6 +native +END diff --git a/package/libs/popt/.svn/text-base/Makefile.svn-base b/package/libs/popt/.svn/text-base/Makefile.svn-base new file mode 100644 index 0000000..1cdcc40 --- /dev/null +++ b/package/libs/popt/.svn/text-base/Makefile.svn-base @@ -0,0 +1,59 @@ +# +# Copyright (C) 2006-2010 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=popt +PKG_VERSION:=1.7 +PKG_RELEASE:=5 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=http://downloads.openwrt.org/sources/ +PKG_MD5SUM:=5988e7aeb0ae4dac8d83561265984cc9 + +PKG_FIXUP:=autoreconf +PKG_REMOVE_FILES:=autogen.sh aclocal.m4 + +PKG_INSTALL:=1 +PKG_BUILD_PARALLEL:=1 + +include $(INCLUDE_DIR)/package.mk + +TARGET_CFLAGS += $(FPIC) + +define Package/libpopt + SECTION:=libs + CATEGORY:=Libraries + TITLE:=A command line option parsing library + URL:=http://rpm5.org/files/popt/ +endef + +define Build/Configure + $(call Build/Configure/Default, \ + --enable-shared \ + --enable-static \ + ) +endef + +define Build/InstallDev + $(INSTALL_DIR) $(1)/usr/include + $(CP) $(PKG_INSTALL_DIR)/usr/include/popt.h $(1)/usr/include/ + $(INSTALL_DIR) $(1)/usr/lib + $(CP) $(PKG_INSTALL_DIR)/usr/lib/libpopt.{a,so*} $(1)/usr/lib/ +endef + +define Package/libpopt/install + $(INSTALL_DIR) $(1)/usr/lib + $(CP) $(PKG_INSTALL_DIR)/usr/lib/libpopt.so.* $(1)/usr/lib/ +endef + +$(eval $(call RequireCommand,xgettext, \ + $(PKG_NAME) requires the GNU gettext development package installed on the local system to build. \ +)) + +$(eval $(call BuildPackage,libpopt)) + diff --git a/package/libs/popt/Makefile b/package/libs/popt/Makefile new file mode 100644 index 0000000..1cdcc40 --- /dev/null +++ b/package/libs/popt/Makefile @@ -0,0 +1,59 @@ +# +# Copyright (C) 2006-2010 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=popt +PKG_VERSION:=1.7 +PKG_RELEASE:=5 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=http://downloads.openwrt.org/sources/ +PKG_MD5SUM:=5988e7aeb0ae4dac8d83561265984cc9 + +PKG_FIXUP:=autoreconf +PKG_REMOVE_FILES:=autogen.sh aclocal.m4 + +PKG_INSTALL:=1 +PKG_BUILD_PARALLEL:=1 + +include $(INCLUDE_DIR)/package.mk + +TARGET_CFLAGS += $(FPIC) + +define Package/libpopt + SECTION:=libs + CATEGORY:=Libraries + TITLE:=A command line option parsing library + URL:=http://rpm5.org/files/popt/ +endef + +define Build/Configure + $(call Build/Configure/Default, \ + --enable-shared \ + --enable-static \ + ) +endef + +define Build/InstallDev + $(INSTALL_DIR) $(1)/usr/include + $(CP) $(PKG_INSTALL_DIR)/usr/include/popt.h $(1)/usr/include/ + $(INSTALL_DIR) $(1)/usr/lib + $(CP) $(PKG_INSTALL_DIR)/usr/lib/libpopt.{a,so*} $(1)/usr/lib/ +endef + +define Package/libpopt/install + $(INSTALL_DIR) $(1)/usr/lib + $(CP) $(PKG_INSTALL_DIR)/usr/lib/libpopt.so.* $(1)/usr/lib/ +endef + +$(eval $(call RequireCommand,xgettext, \ + $(PKG_NAME) requires the GNU gettext development package installed on the local system to build. \ +)) + +$(eval $(call BuildPackage,libpopt)) + diff --git a/package/libs/popt/patches/.svn/entries b/package/libs/popt/patches/.svn/entries new file mode 100644 index 0000000..85bda16 --- /dev/null +++ b/package/libs/popt/patches/.svn/entries @@ -0,0 +1,62 @@ +10 + +dir +36060 +svn://svn.openwrt.org/openwrt/trunk/package/libs/popt/patches +svn://svn.openwrt.org/openwrt + + + +2010-12-22T01:24:34.004655Z +24764 +jow + + + + + + + + + + + + + + +3c298f89-4303-0410-b956-a3cf2f4a3e73 + +002-no-intl.patch +file + + + + +2013-03-17T12:13:08.000000Z +7cc30073c9116a66ac8056491ffe00f8 +2010-12-11T18:42:27.203759Z +24491 +jow + + + + + + + + + + + + + + + + + + + + + +2391 + diff --git a/package/libs/popt/patches/.svn/text-base/002-no-intl.patch.svn-base b/package/libs/popt/patches/.svn/text-base/002-no-intl.patch.svn-base new file mode 100644 index 0000000..2f9a4e0 --- /dev/null +++ b/package/libs/popt/patches/.svn/text-base/002-no-intl.patch.svn-base @@ -0,0 +1,81 @@ +--- a/configure.in ++++ b/configure.in +@@ -64,25 +64,14 @@ else + AC_MSG_RESULT(no) + fi + +-if test ! -f ../rpm.c +-then +- AC_MSG_CHECKING(for GNU xgettext) +- xgettext --version 2>&1 | grep 'GNU gettext' >/dev/null 2>&1 || AC_MSG_ERROR([ +- *** GNU gettext is required. The latest version +- *** is always available from ftp://ftp.gnu.org/gnu/gettext/.]) +- AC_MSG_RESULT(yes) +-fi +- + AC_CHECK_FUNCS(strerror mtrace getuid geteuid) + AC_CHECK_FUNC(setreuid, [], [ + AC_CHECK_LIB(ucb, setreuid, [if echo $LIBS | grep -- -lucb >/dev/null ;then :; else LIBS="$LIBS -lc -lucb" USEUCB=y;fi]) + ]) + +-AM_GNU_GETTEXT +- + POPT_SOURCE_PATH="`pwd`" + AC_DEFINE_UNQUOTED(POPT_SOURCE_PATH, "$POPT_SOURCE_PATH", + [Full path to popt top_sourcedir.]) + AC_SUBST(POPT_SOURCE_PATH) + +-AC_OUTPUT([Doxyfile Makefile intl/Makefile po/Makefile.in]) ++AC_OUTPUT([Doxyfile Makefile]) +--- a/Makefile.am ++++ b/Makefile.am +@@ -4,10 +4,9 @@ AUTOMAKE_OPTIONS = 1.4 foreign + + EXTRA_DIST = autogen.sh CHANGES $(man_MANS) popt.spec \ + testit.sh test-poptrc \ +- po/*.in po/*.po po/popt.pot \ + popt.ps + +-SUBDIRS = intl po ++SUBDIRS = + + INCLUDES = -I. -I$(top_srcdir) + +--- a/Makefile.in ++++ b/Makefile.in +@@ -124,7 +124,7 @@ EXTRA_DIST = autogen.sh CHANGES $(man_MA + popt.ps + + +-SUBDIRS = intl po ++SUBDIRS = + + INCLUDES = -I. -I$(top_srcdir) + +@@ -160,7 +160,7 @@ subdir = . + ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 + mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs + CONFIG_HEADER = config.h +-CONFIG_CLEAN_FILES = Doxyfile intl/Makefile ++CONFIG_CLEAN_FILES = Doxyfile + LTLIBRARIES = $(lib_LTLIBRARIES) + + libpopt_la_LDFLAGS = +@@ -261,8 +261,6 @@ distclean-hdr: + -rm -f config.h stamp-h1 + Doxyfile: $(top_builddir)/config.status Doxyfile.in + cd $(top_builddir) && $(SHELL) ./config.status $@ +-intl/Makefile: $(top_builddir)/config.status $(top_srcdir)/intl/Makefile.in +- cd $(top_builddir) && $(SHELL) ./config.status $@ + libLTLIBRARIES_INSTALL = $(INSTALL) + install-libLTLIBRARIES: $(lib_LTLIBRARIES) + @$(NORMAL_INSTALL) +@@ -584,7 +582,7 @@ distcleancheck_listfiles = find . -type + distdir: $(DISTFILES) + $(am__remove_distdir) + mkdir $(distdir) +- $(mkinstalldirs) $(distdir)/. $(distdir)/intl $(distdir)/po ++ $(mkinstalldirs) $(distdir)/. + @list='$(DISTFILES)'; for file in $$list; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ diff --git a/package/libs/popt/patches/002-no-intl.patch b/package/libs/popt/patches/002-no-intl.patch new file mode 100644 index 0000000..2f9a4e0 --- /dev/null +++ b/package/libs/popt/patches/002-no-intl.patch @@ -0,0 +1,81 @@ +--- a/configure.in ++++ b/configure.in +@@ -64,25 +64,14 @@ else + AC_MSG_RESULT(no) + fi + +-if test ! -f ../rpm.c +-then +- AC_MSG_CHECKING(for GNU xgettext) +- xgettext --version 2>&1 | grep 'GNU gettext' >/dev/null 2>&1 || AC_MSG_ERROR([ +- *** GNU gettext is required. The latest version +- *** is always available from ftp://ftp.gnu.org/gnu/gettext/.]) +- AC_MSG_RESULT(yes) +-fi +- + AC_CHECK_FUNCS(strerror mtrace getuid geteuid) + AC_CHECK_FUNC(setreuid, [], [ + AC_CHECK_LIB(ucb, setreuid, [if echo $LIBS | grep -- -lucb >/dev/null ;then :; else LIBS="$LIBS -lc -lucb" USEUCB=y;fi]) + ]) + +-AM_GNU_GETTEXT +- + POPT_SOURCE_PATH="`pwd`" + AC_DEFINE_UNQUOTED(POPT_SOURCE_PATH, "$POPT_SOURCE_PATH", + [Full path to popt top_sourcedir.]) + AC_SUBST(POPT_SOURCE_PATH) + +-AC_OUTPUT([Doxyfile Makefile intl/Makefile po/Makefile.in]) ++AC_OUTPUT([Doxyfile Makefile]) +--- a/Makefile.am ++++ b/Makefile.am +@@ -4,10 +4,9 @@ AUTOMAKE_OPTIONS = 1.4 foreign + + EXTRA_DIST = autogen.sh CHANGES $(man_MANS) popt.spec \ + testit.sh test-poptrc \ +- po/*.in po/*.po po/popt.pot \ + popt.ps + +-SUBDIRS = intl po ++SUBDIRS = + + INCLUDES = -I. -I$(top_srcdir) + +--- a/Makefile.in ++++ b/Makefile.in +@@ -124,7 +124,7 @@ EXTRA_DIST = autogen.sh CHANGES $(man_MA + popt.ps + + +-SUBDIRS = intl po ++SUBDIRS = + + INCLUDES = -I. -I$(top_srcdir) + +@@ -160,7 +160,7 @@ subdir = . + ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 + mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs + CONFIG_HEADER = config.h +-CONFIG_CLEAN_FILES = Doxyfile intl/Makefile ++CONFIG_CLEAN_FILES = Doxyfile + LTLIBRARIES = $(lib_LTLIBRARIES) + + libpopt_la_LDFLAGS = +@@ -261,8 +261,6 @@ distclean-hdr: + -rm -f config.h stamp-h1 + Doxyfile: $(top_builddir)/config.status Doxyfile.in + cd $(top_builddir) && $(SHELL) ./config.status $@ +-intl/Makefile: $(top_builddir)/config.status $(top_srcdir)/intl/Makefile.in +- cd $(top_builddir) && $(SHELL) ./config.status $@ + libLTLIBRARIES_INSTALL = $(INSTALL) + install-libLTLIBRARIES: $(lib_LTLIBRARIES) + @$(NORMAL_INSTALL) +@@ -584,7 +582,7 @@ distcleancheck_listfiles = find . -type + distdir: $(DISTFILES) + $(am__remove_distdir) + mkdir $(distdir) +- $(mkinstalldirs) $(distdir)/. $(distdir)/intl $(distdir)/po ++ $(mkinstalldirs) $(distdir)/. + @list='$(DISTFILES)'; for file in $$list; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ |