diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2017-10-03 22:14:50 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2017-10-03 22:59:24 +0200 |
commit | 2507c4dd038a2b4623f3c1eaa95b607a1c6b54d7 (patch) | |
tree | 02fed5c2c8c69a5afb43f012989eed00c08dd9c4 /dev-games/physfs/physfs-3.0.0.ebuild | |
parent | net-irc/inspircd: do add proxy-maint to metadata.xml file. (diff) | |
download | gentoo-2507c4dd038a2b4623f3c1eaa95b607a1c6b54d7.tar.gz gentoo-2507c4dd038a2b4623f3c1eaa95b607a1c6b54d7.tar.bz2 gentoo-2507c4dd038a2b4623f3c1eaa95b607a1c6b54d7.zip |
dev-games/physfs: Bump to version 3.0.0
Package-Manager: Portage-2.3.11, Repoman-2.3.3
Diffstat (limited to 'dev-games/physfs/physfs-3.0.0.ebuild')
-rw-r--r-- | dev-games/physfs/physfs-3.0.0.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/dev-games/physfs/physfs-3.0.0.ebuild b/dev-games/physfs/physfs-3.0.0.ebuild new file mode 100644 index 000000000000..6c6a34f418d9 --- /dev/null +++ b/dev-games/physfs/physfs-3.0.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit cmake-multilib + +DESCRIPTION="Abstraction layer for filesystem and archive access" +HOMEPAGE="http://icculus.org/physfs/" +SRC_URI="http://icculus.org/physfs/downloads/${P}.tar.bz2" + +LICENSE="ZLIB" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc64 ~x86 ~x86-fbsd" +IUSE="grp hog mvl qpak static-libs wad +zip" + +RDEPEND="" +DEPEND="" + +DOCS=( docs/CHANGELOG.txt docs/CREDITS.txt docs/TODO.txt ) + +src_prepare() { + default + sed -i -e 's:-Werror::' CMakeLists.txt || die + # make sure these libs aren't used + rm -rf lzma zlib* +} + +src_configure() { + local mycmakeargs=( + -DPHYSFS_ARCHIVE_7Z=OFF + -DPHYSFS_BUILD_SHARED=ON + -DPHYSFS_BUILD_TEST=OFF + -DPHYSFS_BUILD_WX_TEST=OFF + -DPHYSFS_INTERNAL_ZLIB=OFF + -DPHYSFS_BUILD_STATIC="$(usex static-libs)" + -DPHYSFS_ARCHIVE_GRP="$(usex grp)" + -DPHYSFS_ARCHIVE_HOG="$(usex hog)" + -DPHYSFS_ARCHIVE_MVL="$(usex mvl)" + -DPHYSFS_ARCHIVE_WAD="$(usex wad)" + -DPHYSFS_ARCHIVE_QPAK="$(usex qpak)" + -DPHYSFS_ARCHIVE_ZIP="$(usex zip)" + ) + + cmake-multilib_src_configure +} |