moved into main for pisi 2.0
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 2
|
||||
# See the file http://www.gnu.org/copyleft/gpl.txt
|
||||
|
||||
from pisi.actionsapi import get
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import shelltools
|
||||
|
||||
def setup():
|
||||
options = "\
|
||||
--disable-static \
|
||||
--without-apache-httpd \
|
||||
--without-apache-module-dir \
|
||||
"
|
||||
if get.buildTYPE() == "_emul32":
|
||||
options += " --libdir=/usr/lib32 \
|
||||
--bindir=/_emul32/bin \
|
||||
--sbindir=/_emul32/sbin \
|
||||
--disable-tls-check"
|
||||
|
||||
shelltools.export("CC", "%s -m32" % get.CC())
|
||||
shelltools.export("CXX", "%s -m32" % get.CXX())
|
||||
shelltools.export("PKG_CONFIG_PATH", "/usr/lib32/pkgconfig")
|
||||
|
||||
autotools.configure(options)
|
||||
|
||||
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
#if get.buildTYPE() == "_emul32":
|
||||
#pisitools.removeDir("/_emul32")
|
||||
|
||||
pisitools.dodoc("README", "NEWS", "AUTHORS")
|
||||
@@ -0,0 +1,182 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libsoup</Name>
|
||||
<Homepage>http://live.gnome.org/LibSoup</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>LGPLv2</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>An HTTP library implementation in C</Summary>
|
||||
<Description>libsoup is an HTTP client/server library for GNOME.</Description>
|
||||
<Archive sha1sum="8bd422bd5d19b5e2630bbb35dfb06354b1d56442" type="tarxz">mirrors://gnome/libsoup/2.50/libsoup-2.50.0.tar.xz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>gtk-doc</Dependency>
|
||||
<Dependency>tls-devel</Dependency>
|
||||
<Dependency>gconf-devel</Dependency>
|
||||
<Dependency>gnutls-devel</Dependency>
|
||||
<Dependency>glib-networking</Dependency>
|
||||
<Dependency>libgcrypt-devel</Dependency>
|
||||
<Dependency>libgnome-keyring-devel</Dependency>
|
||||
<Dependency>glib2-devel</Dependency>
|
||||
<Dependency>libxml2-devel</Dependency>
|
||||
<Dependency>sqlite-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libsoup</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>glib2</Dependency>
|
||||
<Dependency>libxml2</Dependency>
|
||||
<Dependency>sqlite</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="localedata">/usr/share/locale/</Path>
|
||||
<Path fileType="library">/usr/lib/girepository-1.0/Soup-2.4.typelib</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libsoup-gnome</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>libsoup</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib/lib*gnome*</Path>
|
||||
<Path fileType="library">/usr/lib/girepository-1.0/SoupGNOME-2.4.typelib</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
|
||||
<Package>
|
||||
<Name>libsoup-docs</Name>
|
||||
<IsA>data:doc</IsA>
|
||||
<Summary>libsoup reference documents</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>libsoup</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="doc">/usr/share/gtk-doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libsoup-devel</Name>
|
||||
<Summary>Development files for libsoup</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>glib2-devel</Dependency>
|
||||
<Dependency>libxml2-devel</Dependency>
|
||||
<Dependency release="current">libsoup</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="header">/usr/share/gir-1.0</Path>
|
||||
<Path fileType="library">/usr/lib/pkgconfig</Path>
|
||||
<Path fileType="library">/usr/lib32/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libsoup-32bit</Name>
|
||||
<PartOf>emul32</PartOf>
|
||||
<Summary>32-bit shared libraries for libsoup</Summary>
|
||||
<BuildType>_emul32</BuildType>
|
||||
<BuildDependencies>
|
||||
<Dependency>glib2-32bit</Dependency>
|
||||
<Dependency>sqlite-32bit</Dependency>
|
||||
<Dependency>libxml2-32bit</Dependency>
|
||||
<Dependency>glibc-32bit</Dependency>
|
||||
</BuildDependencies>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>glib2-32bit</Dependency>
|
||||
<Dependency>sqlite-32bit</Dependency>
|
||||
<Dependency>libxml2-32bit</Dependency>
|
||||
<Dependency>glibc-32bit</Dependency>
|
||||
<Dependency release="current">libsoup</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib32</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="10">
|
||||
<Date>2015-06-14</Date>
|
||||
<Version>2.50.0</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="9">
|
||||
<Date>2015-02-20</Date>
|
||||
<Version>2.49.1</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Stefan Gronewold(groni)</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="8">
|
||||
<Date>2014-05-25</Date>
|
||||
<Version>2.46.0</Version>
|
||||
<Comment>Rebuil.</Comment>
|
||||
<Name>Alihan Öztürk</Name>
|
||||
<Email>alihan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="7">
|
||||
<Date>2014-03-30</Date>
|
||||
<Version>2.46.0</Version>
|
||||
<Comment>32bit split packages.</Comment>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="6">
|
||||
<Date>2014-03-30</Date>
|
||||
<Version>2.46.0</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="5">
|
||||
<Date>2014-02.20</Date>
|
||||
<Version>2.44.0</Version>
|
||||
<Comment>Rebuild Unused</Comment>
|
||||
<Name>Varol Maksutoğlu</Name>
|
||||
<Email>waroi@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2013-10.10</Date>
|
||||
<Version>2.44.0</Version>
|
||||
<Comment>Version Bump.</Comment>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2013-03-08</Date>
|
||||
<Version>2.41.91</Version>
|
||||
<Comment>bump</Comment>
|
||||
<Name>Erdinç Gültekin</Name>
|
||||
<Email>erdincgultekin@gmail</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-01-29</Date>
|
||||
<Version>2.40.3</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1" type="security">
|
||||
<Date>2012-10-14</Date>
|
||||
<Version>2.40.0</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libsoup</Name>
|
||||
<Summary xml:lang="tr">C için HTTP kitaplık gerçekleyicisi</Summary>
|
||||
<Description xml:lang="tr">libsoup, GNOME için HTTP istemci / sunucu kitaplığıdır.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libsoup-docs</Name>
|
||||
<Summary xml:lang="tr">libsoup başvuru belgeleri</Summary>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libsoup-devel</Name>
|
||||
<Summary xml:lang="tr">libsoup için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libsoup-32bit</Name>
|
||||
<Summary xml:lang="tr">libsoup için 32-bit paylaşımlı kitaplıklar</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user