aboutsummaryrefslogtreecommitdiffstats
path: root/testing/physfs
diff options
context:
space:
mode:
authoralpterry <alpterry@protonmail.com>2020-02-01 13:25:25 +0100
committerLeo <thinkabit.ukim@gmail.com>2020-02-01 15:34:59 +0100
commita9882d222fefdb930fe6d17e25f548efaa4da444 (patch)
treea762df3f338f8adbf5ae8b91a30540156de92dc7 /testing/physfs
parent9a19fbd41c97400e7d4e616f1d30ae83993f6e22 (diff)
downloadaports-a9882d222fefdb930fe6d17e25f548efaa4da444.tar.bz2
aports-a9882d222fefdb930fe6d17e25f548efaa4da444.tar.xz
testing/physfs: remove test program from package
physfs does not have any automatic tests - the check() function just builts a "test_physfs" program that is installed into the package.
Diffstat (limited to 'testing/physfs')
-rw-r--r--testing/physfs/APKBUILD11
1 files changed, 4 insertions, 7 deletions
diff --git a/testing/physfs/APKBUILD b/testing/physfs/APKBUILD
index 08e5a7b3db..43e4d2e3d5 100644
--- a/testing/physfs/APKBUILD
+++ b/testing/physfs/APKBUILD
@@ -2,15 +2,15 @@
# Maintainer:
pkgname=physfs
pkgver=3.0.2
-pkgrel=0
+pkgrel=1
pkgdesc="Library providing access to various archives, for use in video games"
url="https://icculus.org/physfs/"
arch="all"
license="Zlib"
-depends_dev="ncurses-dev"
-makedepends="cmake $depends_dev"
+makedepends="cmake"
subpackages="$pkgname-static $pkgname-dev"
source="https://icculus.org/physfs/downloads/physfs-$pkgver.tar.bz2"
+options="!check" # no tests
build() {
if [ "$CBUILD" != "$CHOST" ]; then
@@ -23,14 +23,11 @@ build() {
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
-DCMAKE_C_FLAGS="$CFLAGS" \
+ -DPHYSFS_BUILD_TEST=OFF \
$CMAKE_CROSSOPTS
make
}
-check() {
- make test_physfs
-}
-
package() {
make DESTDIR="$pkgdir" install
}