apr in main thanks @alialgul
This commit is contained in:
@@ -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")
|
||||
@@ -0,0 +1,71 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>apr</Name>
|
||||
<Homepage>http://apr.apache.org/</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>Apache-2.0</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>Apache portable runtime library</Summary>
|
||||
<Description>The mission of the Apache portable runtime (APR) is to provide a free library of C data structures and routines.</Description>
|
||||
<Archive sha1sum="2ef2ac9a8de7f97f15ef32cddf1ed7325163d84c" type="targz">mirrors://apache/apr/apr-1.5.2.tar.gz</Archive>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>apr</Name>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="data">/usr/share/aclocal</Path>
|
||||
<Path fileType="data">/usr/lib/apr-1/build</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>apr-devel</Name>
|
||||
<Summary>Development files for apr</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">apr</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="4">
|
||||
<Date>2015-05-01</Date>
|
||||
<Version>1.5.2</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Yusuf Aydemir</Name>
|
||||
<Email>yusuf.aydemir@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2014-06-19</Date>
|
||||
<Version>1.5.1</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Yusuf Aydemir</Name>
|
||||
<Email>yusuf.aydemir@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-12-28</Date>
|
||||
<Version>1.5.0</Version>
|
||||
<Comment>Version Bump</Comment>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-05-26</Date>
|
||||
<Version>1.4.6</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Yusuf Aydemir</Name>
|
||||
<Email>yusuf.aydemir@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>apr</Name>
|
||||
<Summary xml:lang="tr">Apache portatif çalışma ortamı kitaplığı (eski sürüm)</Summary>
|
||||
<Summary xml:lang="pl">Apache Portable Runtime – przenośna biblioteka uruchomieniowa</Summary>
|
||||
<Description xml:lang="tr">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.</Description>
|
||||
<Description xml:lang="fr">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.</Description>
|
||||
<Description xml:lang="pl">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.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>apr-devel</Name>
|
||||
<Summary xml:lang="tr">Development files for apr</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user