fix for compile
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
#!/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 get
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
|
||||
def setup():
|
||||
python = "--without-python" if get.buildTYPE() == "emul32" else "--with-python=/usr/bin/python2.7 "
|
||||
# don't remove --with-debugger as it is needed for reverse dependencies
|
||||
autotools.configure("%s \
|
||||
--with-crypto \
|
||||
--with-debugger \
|
||||
--disable-static \
|
||||
--with-xz \
|
||||
--with-zlib \
|
||||
--disable-silent-rules \
|
||||
" % python)
|
||||
|
||||
pisitools.dosed("libtool", "^(hardcode_libdir_flag_spec=).*", '\\1""')
|
||||
pisitools.dosed("libtool", "^(runpath_var=)LD_RUN_PATH", "\\1DIE_RPATH_DIE")
|
||||
pisitools.dosed("libtool"," -shared ", " -Wl,--as-needed -shared ")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
#def check():
|
||||
# autotools.make("check")
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
pisitools.dodoc("AUTHORS", "ChangeLog", "Copyright", "FEATURES", "NEWS", "README", "TODO")
|
||||
@@ -0,0 +1,102 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libxslt</Name>
|
||||
<Homepage>http://xmlsoft.org/XSLT/</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>MIT</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>XSLT libraries and tools</Summary>
|
||||
<Description>Libxslt is the XSLT C library developed for the GNOME project. XSLT itself is a an XML language to define transformation for XML.</Description>
|
||||
<Archive sha1sum="4df177de629b2653db322bfb891afa3c0d1fa221" type="targz">ftp://ftp.xmlsoft.org/libxml2/libxslt-1.1.28.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>libxml2-devel</Dependency>
|
||||
<Dependency>libgcrypt-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libxslt-docs</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">libxslt</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libxslt-devel</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">libxslt</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin/*-config</Path>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
<Path fileType="data">/usr/lib32/pkgconfig</Path>
|
||||
<Path fileType="data">/usr/share/aclocal</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libxslt</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>libgcrypt</Dependency>
|
||||
<Dependency>libxml2</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libxslt-32bit</Name>
|
||||
<PartOf>emul32</PartOf>
|
||||
<Summary>32-bit shared libraries for libxslt</Summary>
|
||||
<BuildType>emul32</BuildType>
|
||||
<BuildDependencies>
|
||||
<Dependency>libxml2-32bit</Dependency>
|
||||
<Dependency>libgcrypt-32bit</Dependency>
|
||||
</BuildDependencies>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">libxslt</Dependency>
|
||||
<Dependency>libxml2-32bit</Dependency>
|
||||
<Dependency>libgcrypt-32bit</Dependency>
|
||||
<Dependency>glibc-32bit</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib32</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="3">
|
||||
<Date>2014-05-20</Date>
|
||||
<Version>1.1.28</Version>
|
||||
<Comment>Rebuild.</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-08-31</Date>
|
||||
<Version>1.1.28</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-09-15</Date>
|
||||
<Version>1.1.27</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libxslt</Name>
|
||||
<Summary xml:lang="tr">XSLT kitaplığı ve araçları</Summary>
|
||||
<Description xml:lang="tr">Libxslt, GNOME projesi için geliştirilen XSLT C kitaplığıdır. XSLT'nin kendisi, XML oluşumunu tanımlayan bir XML dilidir.</Description>
|
||||
<Description xml:lang="fr">Libxslt est la librairie XSLT C développée pour le projet GNOME. XSLT étant lui-même un langage XML permettant de définir une transformation de contenu XML.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libxslt-docs</Name>
|
||||
<Summary xml:lang="tr">libxslt için belgelendirme dosyaları</Summary>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libxslt-devel</Name>
|
||||
<Summary xml:lang="tr">libxslt için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libxslt-32bit</Name>
|
||||
<Summary xml:lang="tr">libxslt için 32-bit paylaşımlı kitaplıklar</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user