From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rico Bachmann Date: Tue, 17 Apr 2012 14:18:48 +0200 Subject: [Buildroot] [PATCH] Add libapr-package References: <1334660370-19506-2-git-send-email-bachmann@tofwerk.com> <20120417133932.4552d886@skate> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Am 17.04.2012, 13:39 Uhr, schrieb Thomas Petazzoni : > Hello Rico, > > Thanks for this contribution! > > Le Tue, 17 Apr 2012 12:59:30 +0200, > Rico Bachmann a ?crit : > >> +++ b/package/libapr/Config.in >> @@ -0,0 +1,7 @@ >> +config BR2_PACKAGE_LIBAPR >> + > > Remove this blank line. the line will be gone with my next patch :) > >> + 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 > > This text should be wrapped at ~80 columns. > >> new file mode 100644 >> index 0000000..57da8ef >> --- /dev/null >> +++ b/package/libapr/libapr.mk >> @@ -0,0 +1,12 @@ >> +############################################################# >> +# >> +# libapr >> +# >> +############################################################# >> +LIBAPR_VERSION = 1.4.6 >> +LIBAPR_SOURCE = apr-$(LIBAPR_VERSION).tar.gz > > Yegor's suggestion didn't work because by default we download > -.tar.gz. However here you decided to > name the Buildroot package "libapr", while the upstream package is > "apr". Maybe we should use the "apr" name like upstream? if it is the preferred way I can change the name of the package to arp and delete the LIBAPR_SOURCE line, that's no problem > >> +LIBAPR_SITE = http://mirror.switch.ch/mirror/apache/dist/apr >> +LIBAPR_INSTALL_STAGING = 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 > > Please wrap this this way: > > LIBAPR_CONF_OPT = \ > ac_cv_file__dev_zero=yes \ > ac_cv_func_setgrp_void=yes \ > ... > > And remove --enable-shared since it is already passed by default, and > tuned when BR2_PREFER_STATIC is used. > > Regards, > > Thomas -- Erstellt mit Operas revolution?rem E-Mail-Modul: http://www.opera.com/mail/