add clementine and dep
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-·
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/copyleft/gpl.txt.
|
||||
#
|
||||
|
||||
from pisi.actionsapi import cmaketools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def setup():
|
||||
cmaketools.configure("-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DBUILD_SHARED=ON \
|
||||
-DBUILD_STATIC=OFF \
|
||||
-DBUILD_TESTING=OFF \
|
||||
-DCMAKE_INSTALL_LIBDIR=lib")
|
||||
|
||||
pisitools.dosed("cryptopp.pc", "@VERSION@", get.srcVERSION())
|
||||
|
||||
def build():
|
||||
cmaketools.make()
|
||||
|
||||
def install():
|
||||
cmaketools.rawInstall("PREFIX=/usr DESTDIR=%s" % get.installDIR())
|
||||
|
||||
pisitools.insinto("/usr/lib/pkgconfig", "cryptopp.pc")
|
||||
@@ -0,0 +1,14 @@
|
||||
prefix=/usr
|
||||
exec_prefix=/usr
|
||||
libdir=/usr/lib
|
||||
includedir=/usr/include
|
||||
|
||||
Name: Crypto++
|
||||
Description: A free C++ class library of cryptographic schemes
|
||||
Version: @VERSION@
|
||||
URL: http://www.cryptopp.com
|
||||
Requires:
|
||||
Conflicts:
|
||||
Libs: -L${libdir} -lcryptopp
|
||||
Libs.private:
|
||||
Cflags: -I${includedir}/cryptopp/
|
||||
@@ -0,0 +1,58 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>crypto++</Name>
|
||||
<Homepage>http://www.cryptopp.com</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>public-domain</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>Public domain C++ class library of cryptographic schemes</Summary>
|
||||
<Description>crypto++ is a free C++ class library of cryptographic schemes. One purpose of Crypto++ is to act as a repository of public domain (not copyrighted) source code. Although the library is copyrighted as a compilation, the individual files in it are in the public domain.</Description>
|
||||
<Archive sha1sum="3aa4f2fcfee05ed304c6614325c90eba0dc75f16" type="targz">https://github.com/weidai11/cryptopp/archive/CRYPTOPP_5_6_5.tar.gz</Archive>
|
||||
<AdditionalFiles>
|
||||
<AdditionalFile target="cryptopp.pc" permission="0644" owner="root">cryptopp.pc</AdditionalFile>
|
||||
</AdditionalFiles>
|
||||
<BuildDependencies>
|
||||
<Dependency>cmake</Dependency>
|
||||
<Dependency>dos2unix</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>crypto++</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>libgcc</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="data">/usr/share</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>crypto++-devel</Name>
|
||||
<Summary>Development files for crypto++</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">crypto++</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2017-01-04</Date>
|
||||
<Version>5.6.5</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Alihan Öztürk</Name>
|
||||
<Email>alihan@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>crypto++</Name>
|
||||
<Summary xml:lang="tr">Değişik kripto şemaları içeren kamu malı C++ kitaplığı</Summary>
|
||||
<Summary xml:lang="pl">Klasa C++ dostarczająca narzędzia do kryptografii</Summary>
|
||||
<Description xml:lang="tr">crypto++, kriptografik şemalar içeren özgür bir C++ kitaplığıdır. Crypto++ kitaplığının en önemli özelliği kodlarının kamu malı (telif haksız) olmasıdır. Kitaplık, seçki olarak telif haklarına sahip olsa da, dosyalar tek tek kamu malıdır.</Description>
|
||||
<Description xml:lang="pl">crypto++ jest klasą C++ dostarczającą narzędzia do kryptografii.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>crypto++-devel</Name>
|
||||
<Summary xml:lang="tr">crypto++ için geliştirme dosyaları</Summary>
|
||||
<Summary xml:lang="pl">Pliki nagłówkowe do crypto++.</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user