summaryrefslogtreecommitdiff
path: root/repo/physfs
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-06-04 15:08:04 +0100
committerdavidovski <david@davidovski.xyz>2022-06-04 15:08:04 +0100
commit873665024ebfaa761ee49b508a79db7178aeb778 (patch)
tree6cd3b4ce3a9f4b0586ffa48e73a6ba4c8da2db43 /repo/physfs
parent4445f6e15185f58dc599390ab74df3ca19b437b7 (diff)
added gnupg
Diffstat (limited to 'repo/physfs')
-rw-r--r--repo/physfs/physfs.xibuild26
1 files changed, 26 insertions, 0 deletions
diff --git a/repo/physfs/physfs.xibuild b/repo/physfs/physfs.xibuild
new file mode 100644
index 0000000..9b47f8b
--- /dev/null
+++ b/repo/physfs/physfs.xibuild
@@ -0,0 +1,26 @@
+#!/bin/sh
+
+NAME="physfs"
+DESC="Library providing access to various archives, for use in video games"
+
+MAKEDEPS="cmake"
+
+PKG_VER=3.0.2
+SOURCE="https://icculus.org/physfs/downloads/physfs-$PKG_VER.tar.bz2"
+
+build() {
+ cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DBUILD_SHARED_LIBS=True \
+ -DCMAKE_BUILD_TYPE=None \
+ -DCMAKE_CXX_FLAGS="$CXXFLAGS" \
+ -DCMAKE_C_FLAGS="$CFLAGS" \
+ -DPHYSFS_BUILD_TEST=OFF
+ make
+}
+
+package() {
+ make DESTDIR="$PKG_DEST" install
+}
+