add libtorrent-rasterbar

This commit is contained in:
groni
2016-01-07 16:58:29 +01:00
parent c283026e09
commit e82dc7a6d0
8 changed files with 316 additions and 71 deletions
+3
View File
@@ -0,0 +1,3 @@
<PISI>
<Name>network.p2p</Name>
</PISI>
@@ -0,0 +1,38 @@
#!/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
#WorkDir = "libtorrent-rasterbar-%s" % get.srcVERSION()
def setup():
autotools.autoreconf("-vfi")
autotools.configure("--disable-static \
--enable-python-binding \
--enable-encryption \
--with-boost-filesystem=mt \
--with-boost-thread=mt \
--with-zlib=system \
--with-libiconv \
--with-libgeoip=system \
--enable-export-all")
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
def build():
autotools.make("CXX=%s" % get.CXX())
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
#pisitools.removeDir("/usr/bin")
pisitools.dohtml("docs/*")
# pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "NEWS", "README")
+128
View File
@@ -0,0 +1,128 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>libtorrent-rasterbar</Name>
<Homepage>http://www.rasterbar.com/products/libtorrent</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>BSD</License>
<IsA>library</IsA>
<Summary>Full featured torrent client library</Summary>
<Description>Rasterbar's C++ library that aims to be a good alternative to all the other bittorrent implementations around. It is a library and not a full featured client, although it comes with a working example client.</Description>
<Archive sha1sum="db272a0c09a1fad721fe88e6e3942b9160bd0c61" type="targz">https://github.com/arvidn/libtorrent/releases/download/libtorrent-1_0_7/libtorrent-rasterbar-1.0.7.tar.gz</Archive>
<BuildDependencies>
<Dependency>libsigc++-devel</Dependency>
<Dependency>boost-devel</Dependency>
<Dependency>geoip-devel</Dependency>
<Dependency>openssl-devel</Dependency>
<Dependency>zlib-devel</Dependency>
<Dependency>libtool</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>libtorrent-rasterbar</Name>
<RuntimeDependencies>
<Dependency>libgcc</Dependency>
<Dependency>boost</Dependency>
<Dependency>geoip</Dependency>
<Dependency>openssl</Dependency>
<Dependency>python</Dependency>
<Dependency>geoip</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc/libtorrent-rasterbar</Path>
</Files>
</Package>
<Package>
<Name>libtorrent-rasterbar-devel</Name>
<Summary>Development files for libtorrent-.rasterbar</Summary>
<RuntimeDependencies>
<Dependency release="current">libtorrent-rasterbar</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
<Path fileType="license">/usr/share/licenses</Path>
<Path fileType="doc">/usr/share/doc/libtorrent/html</Path>
</Files>
</Package>
<History>
<Update release="9">
<Date>2016-01-07</Date>
<Version>1.0.5</Version>
<Comment>Rebuild for Pisi 2.0.</Comment>
<Name>Stefan Gronewold</Name>
<Email>groni@pisilinux.org</Email>
</Update>
<Update release="9">
<Date>2015-05-23</Date>
<Version>1.0.5</Version>
<Comment>Version bump.</Comment>
<Name>Ekin Dursun</Name>
<Email>ekin.dursun@pisilinux.org</Email>
</Update>
<Update release="8">
<Date>2015-02-14</Date>
<Version>0.16.19</Version>
<Comment>Rebuild.</Comment>
<Name>Hakan Yıldız</Name>
<Email>hknyldz93@gmail.com</Email>
</Update>
<Update release="7">
<Date>2015-01-03</Date>
<Version>0.16.19</Version>
<Comment>Version revert.</Comment>
<Name>Hakan Yıldız</Name>
<Email>hknyldz93@gmail.com</Email>
</Update>
<Update release="6">
<Date>2015-01-03</Date>
<Version>0.16.19</Version>
<Comment>Version bump.</Comment>
<Name>Ertuğrul Erata</Name>
<Email>ertugrulerata@gmail.com</Email>
</Update>
<Update release="5">
<Date>2014-06-02</Date>
<Version>0.16.16</Version>
<Comment>Version bump</Comment>
<Name>Serdar Soytetir</Name>
<Email>kaptan@pisilinux.org</Email>
</Update>
<Update release="4">
<Date>2013-11-09</Date>
<Version>0.16.12</Version>
<Comment>Version bump</Comment>
<Name>Burak Fazıl Ertürk</Name>
<Email>burakerturk@pisilinux.org</Email>
</Update>
<Update release="3">
<Date>2013-01-24</Date>
<Version>0.16.9</Version>
<Comment>Bump</Comment>
<Name>Erdinç Gültekin</Name>
<Email>erdincgultekin@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2013-01-24</Date>
<Version>0.16.7</Version>
<Comment>Bump</Comment>
<Name>Idris Kalp</Name>
<Email>admins@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2012-09-01</Date>
<Version>0.16.3</Version>
<Comment>First release</Comment>
<Name>Osman Erkan</Name>
<Email>osman.erkan@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,13 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>libtorrent</Name>
<Summary xml:lang="tr">Gelişmiş bir torrent kitaplığı</Summary>
<Description xml:lang="tr">Libtorrent Rasterbar C++ kitaplığı, diğer bittorrent kitaplıklarına karşın iyi bir alternatifdir.</Description>
</Source>
<Package>
<Name>libtorrent-devel</Name>
<Summary xml:lang="tr">libtorrent için geliştirme dosyaları</Summary>
</Package>
</PISI>