physfs: aded to main

This commit is contained in:
suvari
2016-04-11 20:37:33 +03:00
parent af3825035b
commit 668bcd67fa
7 changed files with 151 additions and 2 deletions
+28
View File
@@ -0,0 +1,28 @@
#!/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 cmaketools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
def setup():
cmaketools.configure("-DPHYSFS_BUILD_STATIC=OFF \
-DPHYSFS_BUILD_SHARED=ON \
-DPHYSFS_ARCHIVE_7Z=OFF \
-DPHYSFS_BUILD_TEST=OFF \
-DPHYSFS_BUILD_WX_TEST=OFF \
-DPHYSFS_INTERNAL_ZLIB=OFF \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr ")
def build():
cmaketools.make()
def install():
cmaketools.rawInstall('DESTDIR="%s"' % get.installDIR())
pisitools.dodoc("CHANGELOG.txt", "CREDITS.txt", "TODO.txt")
+50
View File
@@ -0,0 +1,50 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>physfs</Name>
<Homepage>http://icculus.org/physfs/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>ZLIB</License>
<IsA>library</IsA>
<Summary>Filesystem library</Summary>
<Description>Abstraction layer for filesystems.</Description>
<Archive sha1sum="327308c777009a41bbabb9159b18c4c0ac069537" type="tarbz2">http://icculus.org/physfs/downloads/physfs-2.0.3.tar.bz2</Archive>
<BuildDependencies>
<Dependency>cmake</Dependency>
<Dependency>zlib</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>physfs</Name>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>physfs-devel</Name>
<Summary>Development files for physfs</Summary>
<RuntimeDependencies>
<Dependency release="current">physfs</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2016-04-11</Date>
<Version>2.0.3</Version>
<Comment>First release</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
</History>
</PISI>
+17
View File
@@ -0,0 +1,17 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>physfs</Name>
<Summary xml:lang="tr">Dosya sistemi kitaplığı</Summary>
<Summary xml:lang="pl">Warstwa abstrakcji plików dla gier</Summary>
<Description xml:lang="tr">physfs dosya sistemi katmanı kitaplığıdır.</Description>
<Description xml:lang="fr">Couche d'abstraction pour les systèmes de fichier, généralement utilisée par les jeux.</Description>
<Description xml:lang="es">Capa de abstracción para sistemas de archivos, comúnmente utilizado en juegos</Description>
<Description xml:lang="pl">PhysicsFS to biblioteka udostępniająca abstrakcyjny dostęp do różnych archiwów.</Description>
</Source>
<Package>
<Name>physfs-devel</Name>
<Summary xml:lang="tr">physfs için geliştirme dosyaları</Summary>
</Package>
</PISI>