physfs: clean up dependencies

mark unmaintained
This commit is contained in:
John McQuah 2023-07-05 10:07:19 -04:00
parent daf04b7a06
commit 8189230b7e
2 changed files with 13 additions and 15 deletions

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF35kPGrMc9RXSCWnvRi2+kMgt4PYJqhOURJMjRTaoiBLzyKyU7CpIl3FYpcTJpKa5Y10TSmSBuUvDTwflGfnkOQY=
SHA256 (Pkgfile) = 3950f8977772de1184bf343bf228649e91b5759b29485ccf6ae12c4101de8b5e
RWSagIOpLGJF39X3VWScPhX0jslHVuRuU04Q+FG/k3Nr6hzc0Rl0zmec5ZSxV7utIfQQ/T6mX7vouBjL98WOvjqjx4CtwtlrngM=
SHA256 (Pkgfile) = 067e20580b5c02938788e28045414b50e11c1829c6dfd46b61f365a24a0a8835
SHA256 (.footprint) = 4f2291a031c908a97e63d1351b878d35e49cd533452b9964d02e037e66ee3982
SHA256 (physfs-3.2.0.tar.gz) = 1991500eaeb8d5325e3a8361847ff3bf8e03ec89252b7915e1f25b3f8ab5d560

View File

@ -1,23 +1,21 @@
# Description: Library to provide abstract access to various archives.
# URL: http://icculus.org/physfs/
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: cmake readline
# Maintainer: UNMAINTAINED
name=physfs
version=3.2.0
release=1
source=(https://github.com/icculus/physfs/archive/release-$version/$name-$version.tar.gz)
source=(https://github.com/icculus/$name/archive/release-$version/$name-$version.tar.gz)
build() {
cmake -S $name-release-$version -B build -G Ninja $PKGMK_PHYSFS \
-D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_INSTALL_LIBDIR=lib \
-D CMAKE_BUILD_TYPE=Release \
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
-D PHYSFS_BUILD_TEST=OFF \
-Wno-dev
cmake -S $name-release-$version -B build -G Ninja \
-D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_INSTALL_LIBDIR=lib \
-D CMAKE_BUILD_TYPE=Release \
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
-D PHYSFS_BUILD_TEST=OFF \
-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build
ninja -C build -j ${JOBS:-1}
DESTDIR=$PKG cmake --install build
}