From 873665024ebfaa761ee49b508a79db7178aeb778 Mon Sep 17 00:00:00 2001 From: davidovski Date: Sat, 4 Jun 2022 15:08:04 +0100 Subject: added gnupg --- repo/physfs/physfs.xibuild | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 repo/physfs/physfs.xibuild (limited to 'repo/physfs') 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 +} + -- cgit v1.2.1