libnfs-5.0.3
This commit is contained in:
@@ -4,29 +4,28 @@
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
|
||||
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import cmaketools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import get
|
||||
from pisi.actionsapi import cmaketools, mesontools, pisitools
|
||||
|
||||
j = "-DCMAKE_BUILD_TYPE=release \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DENABLE_DOCUMENTATION=ON \
|
||||
-DBUILD_SHARED_LIBS=ON \
|
||||
-DENABLE_UTILS=ON -L \
|
||||
"
|
||||
y = ''.join([
|
||||
' -DCMAKE_BUILD_TYPE=Release',
|
||||
' -DCMAKE_INSTALL_PREFIX=/usr',
|
||||
' -DBUILD_SHARED_LIBS=ON',
|
||||
' -DENABLE_{UTILS,DOCUMENTATION}=ON',
|
||||
' -Bbuild -G Ninja -L '
|
||||
])
|
||||
|
||||
def setup():
|
||||
shelltools.system("./bootstrap")
|
||||
cmaketools.configure(j)
|
||||
cmaketools.configure(y)
|
||||
|
||||
def build():
|
||||
cmaketools.make()
|
||||
mesontools.build()
|
||||
|
||||
def install():
|
||||
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
for t in ["utils/nfs-cat", "utils/nfs-cp", "utils/nfs-ls"]:
|
||||
pisitools.dobin(t)
|
||||
mesontools.install()
|
||||
|
||||
pisitools.dodoc("COPYING", "README")
|
||||
from pisi.actionsapi import shelltools, get
|
||||
for b in ["nfs-cat", "nfs-cp", "nfs-ls", "nfs-stat"]:
|
||||
shelltools.chmod("%s/usr/bin/%s" % (get.installDIR(), b), mode = 0755)
|
||||
|
||||
for l in ["BSD", "GPL-3", "LGPL-2.1"]:
|
||||
pisitools.dodoc("COPYING", "LICENCE-%s.txt" % l)
|
||||
|
||||
@@ -1,73 +1,77 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libnfs</Name>
|
||||
<Homepage>https://github.com/sahlberg/libnfs</Homepage>
|
||||
<Packager>
|
||||
<Name>Mogyorósi Petra</Name>
|
||||
<Email>squeakymouse@protonmail.com</Email>
|
||||
</Packager>
|
||||
<License>LGPLv2.1</License>
|
||||
<License>GPLv3</License>
|
||||
<License>BSDv2</License>
|
||||
<PartOf>network.connection</PartOf>
|
||||
<IsA>library</IsA>
|
||||
<Summary>NFS client library</Summary>
|
||||
<Description>LIBNFS is a client library for accessing NFS shares over a network.</Description>
|
||||
<Archive sha1sum="004de9e12cf726d7d5fe09b7aa47d14c3703e70f" type="targz">
|
||||
https://github.com/sahlberg/libnfs/archive/libnfs-4.0.0.tar.gz
|
||||
</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>cmake</Dependency>
|
||||
<Dependency>libxslt</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
<Source>
|
||||
<Name>libnfs</Name>
|
||||
<Homepage>https://github.com/sahlberg/libnfs</Homepage>
|
||||
<Packager>
|
||||
<Name>Mogyorósi Petra</Name>
|
||||
<Email>squeakymouse@protonmail.com</Email>
|
||||
</Packager>
|
||||
<License>LGPLv2.1</License>
|
||||
<License>GPLv3</License>
|
||||
<License>BSDv2</License>
|
||||
<PartOf>network.connection</PartOf>
|
||||
<IsA>library</IsA>
|
||||
<Summary>NFS client library.</Summary>
|
||||
<Description>LIBNFS is a client library for accessing NFS shares over a network.</Description>
|
||||
<Archive sha1sum="d73d944bad84a153930d1042ba3d0447aace4b2f" type="targz">https://github.com/sahlberg/libnfs/archive/refs/tags/libnfs-5.0.3.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>cmake</Dependency>
|
||||
<Dependency>ninja</Dependency>
|
||||
<Dependency>libxslt</Dependency>
|
||||
<Dependency>docbook-xsl</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libnfs</Name>
|
||||
<Summary>NFS client library</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>glibc</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/usr/lib/libnfs.so</Path>
|
||||
<Path fileType="library">/usr/lib/libnfs.so.11.0.0</Path>
|
||||
<Path fileType="library">/usr/lib/libnfs.so.2.0.0</Path>
|
||||
<Path fileType="man">/usr/share/man/*</Path>
|
||||
<Path fileType="doc">/usr/share/doc/*</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
<Package>
|
||||
<Name>libnfs</Name>
|
||||
<Summary>NFS client library</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>glibc</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libnfs-devel</Name>
|
||||
<Summary>Development files for libnfs</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>libnfs</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include/*</Path>
|
||||
<Path fileType="config">/usr/lib/pkgconfig/*</Path>
|
||||
<Path fileType="config">/usr/lib/cmake/*</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
<Package>
|
||||
<Name>libnfs-devel</Name>
|
||||
<Summary>Development files for libnfs</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>libnfs</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="data">/usr/lib/cmake</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="2">
|
||||
<Date>2020-12-13</Date>
|
||||
<Version>4.0.0</Version>
|
||||
<Comment>Ver. bump</Comment>
|
||||
<Name>fury</Name>
|
||||
<Email>uglyside@yandex.ru</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2018-07-03</Date>
|
||||
<Version>3.0.0</Version>
|
||||
<Comment>Latest revision from GitHub</Comment>
|
||||
<Name>Mogyorósi Petra</Name>
|
||||
<Email>squeakymouse@protonmail.com</Email>
|
||||
</Update>
|
||||
</History>
|
||||
<History>
|
||||
<Update release="3">
|
||||
<Date>2025-02-04</Date>
|
||||
<Version>5.0.3</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Mogyorósi Petra</Name>
|
||||
<Email>squeakymouse@protonmail.com</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2020-12-13</Date>
|
||||
<Version>4.0.0</Version>
|
||||
<Comment>Ver. bump</Comment>
|
||||
<Name>fury</Name>
|
||||
<Email>uglyside@yandex.ru</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2018-07-03</Date>
|
||||
<Version>3.0.0</Version>
|
||||
<Comment>Latest revision from GitHub</Comment>
|
||||
<Name>Mogyorósi Petra</Name>
|
||||
<Email>squeakymouse@protonmail.com</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user