@@ -1,20 +1,30 @@
|
||||
#!/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
|
||||
# Licensed under the GNU General Public License, version 2
|
||||
# See the file http://www.gnu.org/copyleft/gpl.txt
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import cmaketools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def setup():
|
||||
autotools.configure("--disable-static --enable-shared")
|
||||
#shelltools.makedirs("build")
|
||||
#shelltools.cd("build")
|
||||
cmaketools.configure("-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_INSTALL_LIBDIR=lib")
|
||||
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
#shelltools.cd("build")
|
||||
cmaketools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
#shelltools.cd("build")
|
||||
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
#shelltools.cd("..")
|
||||
|
||||
pisitools.dodoc("README*", "TODO*", "NEWS*", "COPYING")
|
||||
|
||||
pisitools.dodoc("AUTHORS", "COPYING", "ChangeLog", "NEWS", "README", "THANKS" , "TODO")
|
||||
|
||||
@@ -13,13 +13,14 @@
|
||||
<IsA>app:console</IsA>
|
||||
<Summary>librsync implements the rolling-checksum algorithm of remote file synchronization that was popularized by the rsync utility and is used in rproxy</Summary>
|
||||
<Description>librsync implements the rolling-checksum algorithm of remote file synchronization that was popularized by the rsync utility and is used in rproxy. This algorithm transfers the differences between 2 files without needing both files on the same system.</Description>
|
||||
<Archive sha1sum="d575eb5cae7a815798220c3afeff5649d3e8b4ab" type="targz">mirrors://sourceforge/librsync/librsync-0.9.7.tar.gz</Archive>
|
||||
<Archive sha1sum="f8e74edf82520e682e6c213f0de644874829da9a" type="targz">https://github.com/librsync/librsync/archive/v2.0.2.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>cmake</Dependency>
|
||||
<Dependency>popt-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<Patch>librsync-0.9.7-largefiles.patch</Patch>
|
||||
<Patch level="1">librsync-link.patch</Patch>
|
||||
<!-- <Patch>librsync-0.9.7-largefiles.patch</Patch> -->
|
||||
<!-- <Patch level="1">librsync-link.patch</Patch> -->
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
@@ -50,6 +51,13 @@
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="4">
|
||||
<Date>2018-09-09</Date>
|
||||
<Version>2.0.2</Version>
|
||||
<Comment>Release Bump</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2017-05-09</Date>
|
||||
<Version>0.9.7</Version>
|
||||
@@ -72,4 +80,4 @@
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
</PISI>
|
||||
|
||||
Reference in New Issue
Block a user