mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 20:06:43 +02:00
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.
This commit is contained in:
parent
9a19fbd41c
commit
a9882d222f
@ -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
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user