Message ID | 1334657125-30406-1-git-send-email-bachmann@tofwerk.com |
---|---|
State | Not Applicable |
Headers | show |
On Tue, Apr 17, 2012 at 12:05 PM, Rico Bachmann <bachmann@tofwerk.com> wrote: > Signed-off-by: Rico Bachmann <bachmann@tofwerk.com> > --- > package/Config.in | 1 + > package/libapr/Config.in | 7 +++++++ > package/libapr/libapr.mk | 13 +++++++++++++ > 3 files changed, 21 insertions(+), 0 deletions(-) > create mode 100644 package/libapr/Config.in > create mode 100644 package/libapr/libapr.mk > > diff --git a/package/Config.in b/package/Config.in > index 4c6d4d8..ceb5f6d 100644 > --- a/package/Config.in > +++ b/package/Config.in > @@ -376,6 +376,7 @@ source "package/fftw/Config.in" > source "package/libargtable2/Config.in" > source "package/argp-standalone/Config.in" > source "package/boost/Config.in" > +source "package/libapr/Config.in" > source "package/libatomic_ops/Config.in" > source "package/libcap/Config.in" > source "package/libcap-ng/Config.in" > diff --git a/package/libapr/Config.in b/package/libapr/Config.in > new file mode 100644 > index 0000000..51dea91 > --- /dev/null > +++ b/package/libapr/Config.in > @@ -0,0 +1,7 @@ > +config BR2_PACKAGE_LIBAPR > + > + bool "libapr" > + help > + The mission of the Apache Portable Runtime (APR) project is to create and maintain software libraries that provide a predictable and consistent interface to underlying platform-specific implementations > + > + http://apr.apache.org/ > diff --git a/package/libapr/libapr.mk b/package/libapr/libapr.mk > new file mode 100644 > index 0000000..3bd5eec > --- /dev/null > +++ b/package/libapr/libapr.mk > @@ -0,0 +1,13 @@ > +############################################################# > +# > +# libapr > +# > +############################################################# > +LIBAPR_VERSION = 1.4.6 > +LIBAPR_SOURCE = apr-$(LIBAPR_VERSION).tar.gz > +LIBAPR_SITE = http://mirror.switch.ch/mirror/apache/dist/apr/ > +LIBAPR_INSTALL_STAGING = YES > +LIBAPR_INSTALL_TARGET = YES > +LIBAPR_CONF_OPT = ac_cv_file__dev_zero=yes ac_cv_func_setpgrp_void=yes apr_cv_process_shared_works=yes apr_cv_mutex_robust_shared=no apr_cv_tcp_nodelay_with_cork=yes ac_cv_sizeof_struct_iovec=8 apr_cv_mutex_recursive=yes --enable-shared > + > +$(eval $(call AUTOTARGETS,package,LIBAPR)) Please replace $(eval $(call AUTOTARGETS,package,LIBAPR)) with $(eval $(call AUTOTARGETS)) Yegor
Hi Rico, see comments below. On Tue, Apr 17, 2012 at 12:05 PM, Rico Bachmann <bachmann@tofwerk.com> wrote: > Signed-off-by: Rico Bachmann <bachmann@tofwerk.com> > --- > package/Config.in | 1 + > package/libapr/Config.in | 7 +++++++ > package/libapr/libapr.mk | 13 +++++++++++++ > 3 files changed, 21 insertions(+), 0 deletions(-) > create mode 100644 package/libapr/Config.in > create mode 100644 package/libapr/libapr.mk > > diff --git a/package/Config.in b/package/Config.in > index 4c6d4d8..ceb5f6d 100644 > --- a/package/Config.in > +++ b/package/Config.in > @@ -376,6 +376,7 @@ source "package/fftw/Config.in" > source "package/libargtable2/Config.in" > source "package/argp-standalone/Config.in" > source "package/boost/Config.in" > +source "package/libapr/Config.in" > source "package/libatomic_ops/Config.in" > source "package/libcap/Config.in" > source "package/libcap-ng/Config.in" > diff --git a/package/libapr/Config.in b/package/libapr/Config.in > new file mode 100644 > index 0000000..51dea91 > --- /dev/null > +++ b/package/libapr/Config.in > @@ -0,0 +1,7 @@ > +config BR2_PACKAGE_LIBAPR > + > + bool "libapr" > + help > + The mission of the Apache Portable Runtime (APR) project is to create and maintain software libraries that provide a predictable and consistent interface to underlying platform-specific implementations > + > + http://apr.apache.org/ > diff --git a/package/libapr/libapr.mk b/package/libapr/libapr.mk > new file mode 100644 > index 0000000..3bd5eec > --- /dev/null > +++ b/package/libapr/libapr.mk > @@ -0,0 +1,13 @@ > +############################################################# > +# > +# libapr > +# > +############################################################# > +LIBAPR_VERSION = 1.4.6 > +LIBAPR_SOURCE = apr-$(LIBAPR_VERSION).tar.gz remove apr-1.4.6-tar.gz from dl folder and try without LIBAPR_SOURCE macro > +LIBAPR_SITE = http://mirror.switch.ch/mirror/apache/dist/apr/ > +LIBAPR_INSTALL_STAGING = YES > +LIBAPR_INSTALL_TARGET = YES remove LIBAPR_INSTALL_TARGET > +LIBAPR_CONF_OPT = ac_cv_file__dev_zero=yes ac_cv_func_setpgrp_void=yes apr_cv_process_shared_works=yes apr_cv_mutex_robust_shared=no apr_cv_tcp_nodelay_with_cork=yes ac_cv_sizeof_struct_iovec=8 apr_cv_mutex_recursive=yes --enable-shared > + > +$(eval $(call AUTOTARGETS,package,LIBAPR)) > -- > 1.7.2.5 > > _______________________________________________ > buildroot mailing list > buildroot@busybox.net > http://lists.busybox.net/mailman/listinfo/buildroot
Thank for the fast response I'll implement your changes, and try it without LIBAPR_SOURCE > -----Ursprüngliche Nachricht----- > Von: Yegor Yefremov [mailto:yegorslists@googlemail.com] > Gesendet: Dienstag, 17. April 2012 12:25 > An: Rico Bachmann > Cc: buildroot@uclibc.org > Betreff: [**SPAM**] Re: [Buildroot] [PATCH] Add libapr-package > > Hi Rico, > > see comments below. > > On Tue, Apr 17, 2012 at 12:05 PM, Rico Bachmann <bachmann@tofwerk.com> > wrote: > > Signed-off-by: Rico Bachmann <bachmann@tofwerk.com> > > --- > > package/Config.in | 1 + > > package/libapr/Config.in | 7 +++++++ > > package/libapr/libapr.mk | 13 +++++++++++++ > > 3 files changed, 21 insertions(+), 0 deletions(-) > > create mode 100644 package/libapr/Config.in > > create mode 100644 package/libapr/libapr.mk > > > > diff --git a/package/Config.in b/package/Config.in index > > 4c6d4d8..ceb5f6d 100644 > > --- a/package/Config.in > > +++ b/package/Config.in > > @@ -376,6 +376,7 @@ source "package/fftw/Config.in" > > source "package/libargtable2/Config.in" > > source "package/argp-standalone/Config.in" > > source "package/boost/Config.in" > > +source "package/libapr/Config.in" > > source "package/libatomic_ops/Config.in" > > source "package/libcap/Config.in" > > source "package/libcap-ng/Config.in" > > diff --git a/package/libapr/Config.in b/package/libapr/Config.in new > > file mode 100644 index 0000000..51dea91 > > --- /dev/null > > +++ b/package/libapr/Config.in > > @@ -0,0 +1,7 @@ > > +config BR2_PACKAGE_LIBAPR > > + > > + bool "libapr" > > + help > > + The mission of the Apache Portable Runtime (APR) project is > > + to create and maintain software libraries that provide a > predictable > > + and consistent interface to underlying platform-specific > > + implementations > > + > > + http://apr.apache.org/ > > diff --git a/package/libapr/libapr.mk b/package/libapr/libapr.mk new > > file mode 100644 index 0000000..3bd5eec > > --- /dev/null > > +++ b/package/libapr/libapr.mk > > @@ -0,0 +1,13 @@ > > +############################################################# > > +# > > +# libapr > > +# > > +############################################################# > > +LIBAPR_VERSION = 1.4.6 > > +LIBAPR_SOURCE = apr-$(LIBAPR_VERSION).tar.gz > > remove apr-1.4.6-tar.gz from dl folder and try without LIBAPR_SOURCE > macro > > > +LIBAPR_SITE = http://mirror.switch.ch/mirror/apache/dist/apr/ > > +LIBAPR_INSTALL_STAGING = YES > > +LIBAPR_INSTALL_TARGET = YES > > remove LIBAPR_INSTALL_TARGET > > > +LIBAPR_CONF_OPT = ac_cv_file__dev_zero=yes > > +ac_cv_func_setpgrp_void=yes apr_cv_process_shared_works=yes > > +apr_cv_mutex_robust_shared=no apr_cv_tcp_nodelay_with_cork=yes > > +ac_cv_sizeof_struct_iovec=8 apr_cv_mutex_recursive=yes > > +--enable-shared > > + > > +$(eval $(call AUTOTARGETS,package,LIBAPR)) > > -- > > 1.7.2.5 > > > > _______________________________________________ > > buildroot mailing list > > buildroot@busybox.net > > http://lists.busybox.net/mailman/listinfo/buildroot
diff --git a/package/Config.in b/package/Config.in index 4c6d4d8..ceb5f6d 100644 --- a/package/Config.in +++ b/package/Config.in @@ -376,6 +376,7 @@ source "package/fftw/Config.in" source "package/libargtable2/Config.in" source "package/argp-standalone/Config.in" source "package/boost/Config.in" +source "package/libapr/Config.in" source "package/libatomic_ops/Config.in" source "package/libcap/Config.in" source "package/libcap-ng/Config.in" diff --git a/package/libapr/Config.in b/package/libapr/Config.in new file mode 100644 index 0000000..51dea91 --- /dev/null +++ b/package/libapr/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_LIBAPR + + bool "libapr" + help + The mission of the Apache Portable Runtime (APR) project is to create and maintain software libraries that provide a predictable and consistent interface to underlying platform-specific implementations + + http://apr.apache.org/ diff --git a/package/libapr/libapr.mk b/package/libapr/libapr.mk new file mode 100644 index 0000000..3bd5eec --- /dev/null +++ b/package/libapr/libapr.mk @@ -0,0 +1,13 @@ +############################################################# +# +# libapr +# +############################################################# +LIBAPR_VERSION = 1.4.6 +LIBAPR_SOURCE = apr-$(LIBAPR_VERSION).tar.gz +LIBAPR_SITE = http://mirror.switch.ch/mirror/apache/dist/apr/ +LIBAPR_INSTALL_STAGING = YES +LIBAPR_INSTALL_TARGET = YES +LIBAPR_CONF_OPT = ac_cv_file__dev_zero=yes ac_cv_func_setpgrp_void=yes apr_cv_process_shared_works=yes apr_cv_mutex_robust_shared=no apr_cv_tcp_nodelay_with_cork=yes ac_cv_sizeof_struct_iovec=8 apr_cv_mutex_recursive=yes --enable-shared + +$(eval $(call AUTOTARGETS,package,LIBAPR))
Signed-off-by: Rico Bachmann <bachmann@tofwerk.com> --- package/Config.in | 1 + package/libapr/Config.in | 7 +++++++ package/libapr/libapr.mk | 13 +++++++++++++ 3 files changed, 21 insertions(+), 0 deletions(-) create mode 100644 package/libapr/Config.in create mode 100644 package/libapr/libapr.mk