From 4d37ae8f776a4d7053488f72da385325eb620884 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ertu=C4=9Frul=20Erata?= Date: Mon, 31 Aug 2015 23:09:34 +0300 Subject: [PATCH] apr in main thanks @alialgul --- programming/misc/apr/actions.py | 48 ++++++++++++++++++ programming/misc/apr/pspec.xml | 71 +++++++++++++++++++++++++++ programming/misc/apr/translations.xml | 16 ++++++ 3 files changed, 135 insertions(+) create mode 100644 programming/misc/apr/actions.py create mode 100644 programming/misc/apr/pspec.xml create mode 100644 programming/misc/apr/translations.xml diff --git a/programming/misc/apr/actions.py b/programming/misc/apr/actions.py new file mode 100644 index 0000000000..05f0c49bce --- /dev/null +++ b/programming/misc/apr/actions.py @@ -0,0 +1,48 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/licenses/gpl.txt + +from pisi.actionsapi import autotools +from pisi.actionsapi import pisitools +from pisi.actionsapi import shelltools +from pisi.actionsapi import get + +def setup(): + # Forcibly prevent detection of shm_open (which then picks up but + # does not use -lrt). + shelltools.system("./buildconf") + shelltools.export("ac_cv_search_shm_open", "no") + + autotools.configure("--disable-static \ + --includedir=/usr/include/apr-1 \ + --with-installbuilddir=/usr/lib/apr-1/build \ + --with-devrandom=/dev/urandom \ + --enable-nonportable-atomics --without-sendfile") + + # Make it use system's libtool + pisitools.dosed("build/apr_rules.mk", "\$\(apr_builddir\)\/libtool", "/usr/bin/libtool") + pisitools.dosed("apr-1-config", "\$\{installbuilddir\}\/libtool", "/usr/bin/libtool") + + # fix unused-direct-shlib-dependency + pisitools.dosed("libtool", "( -shared )", " -Wl,-O1,--as-needed\\1") + +def build(): + autotools.make() + +def check(): + autotools.make("check") + +def install(): + autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + + # Trim exported dependencies + pisitools.dosed("%s/usr/lib/pkgconfig/*.pc" % get.installDIR(), "-luuid -lcrypt", "") + pisitools.dosed("%s/usr/bin/apr-1-config" % get.installDIR(), "-luuid -lcrypt", "") + + # Install find_apr.m4 + pisitools.dodir("/usr/share/aclocal") + pisitools.insinto("/usr/share/aclocal", "build/find_apr.m4") + + pisitools.dodoc("CHANGES", "LICENSE", "NOTICE") diff --git a/programming/misc/apr/pspec.xml b/programming/misc/apr/pspec.xml new file mode 100644 index 0000000000..de4e95be36 --- /dev/null +++ b/programming/misc/apr/pspec.xml @@ -0,0 +1,71 @@ + + + + + apr + http://apr.apache.org/ + + PisiLinux Community + admins@pisilinux.org + + Apache-2.0 + library + Apache portable runtime library + The mission of the Apache portable runtime (APR) is to provide a free library of C data structures and routines. + mirrors://apache/apr/apr-1.5.2.tar.gz + + + + apr + + /usr/lib + /usr/share/doc + /usr/bin + /usr/share/aclocal + /usr/lib/apr-1/build + + + + + apr-devel + Development files for apr + + apr + + + /usr/include + /usr/lib/pkgconfig + + + + + + 2015-05-01 + 1.5.2 + Version bump. + Yusuf Aydemir + yusuf.aydemir@pisilinux.org + + + 2014-06-19 + 1.5.1 + Version bump. + Yusuf Aydemir + yusuf.aydemir@pisilinux.org + + + 2013-12-28 + 1.5.0 + Version Bump + PisiLinux Community + admins@pisilinux.org + + + 2012-05-26 + 1.4.6 + First release + Yusuf Aydemir + yusuf.aydemir@pisilinux.org + + + diff --git a/programming/misc/apr/translations.xml b/programming/misc/apr/translations.xml new file mode 100644 index 0000000000..7e73d1a5f5 --- /dev/null +++ b/programming/misc/apr/translations.xml @@ -0,0 +1,16 @@ + + + + apr + Apache portatif çalışma ortamı kitaplığı (eski sürüm) + Apache Portable Runtime – przenośna biblioteka uruchomieniowa + Apache portatif çalışma ortamı kitaplığı (APR), C data yapıları için özgür kitaplığı sağlar. Bu sürüm 0 ile başlar. + L'Apache Portable Runtime (APR) a pour mission de fournir une librairie libre C de structures de donnés et de routines. Le numéro de version majeur commence par un 0. + APR to Przenośna Biblioteka Fazy Wykonywania Apache, zaprojektowana jako biblioteka wspomagająca, która udostępnia przewidywalny i spójny interfejs do podstawowych, specyficznych dla platformy implementacji. + + + + apr-devel + Development files for apr + + \ No newline at end of file