* [gentoo-commits] repo/gentoo:master commit in: dev-games/paklib/
@ 2020-11-15 23:24 David Seifert
0 siblings, 0 replies; only message in thread
From: David Seifert @ 2020-11-15 23:24 UTC (permalink / raw
To: gentoo-commits
commit: af7f1a1d68cbfbbcf757a5097d22cc6438294467
Author: Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr>
AuthorDate: Sun Nov 15 23:22:49 2020 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Nov 15 23:22:49 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af7f1a1d
dev-games/paklib: disable static libs
Closes: https://bugs.gentoo.org/722692
Closes: https://bugs.gentoo.org/726876
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr>
Signed-off-by: David Seifert <soap <AT> gentoo.org>
dev-games/paklib/paklib-0.3.ebuild | 23 ++++++++++++++---------
1 file changed, 14 insertions(+), 9 deletions(-)
diff --git a/dev-games/paklib/paklib-0.3.ebuild b/dev-games/paklib/paklib-0.3.ebuild
index b046ce39026..746547e06b5 100644
--- a/dev-games/paklib/paklib-0.3.ebuild
+++ b/dev-games/paklib/paklib-0.3.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=7
+
inherit toolchain-funcs
DESCRIPTION="library for accessing Quake pak files"
@@ -11,19 +12,23 @@ SRC_URI="mirror://sourceforge/paklib/pak-${PV}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
-IUSE=""
-S=${WORKDIR}/pak
+S="${WORKDIR}/pak"
src_compile() {
- $(tc-getCC) ${LDFLAGS} ${CFLAGS} -fPIC -shared pak.c -o libpak.so || die "pak.so failed"
- $(tc-getCC) ${CFLAGS} -c pak.c -o libpak.a || die "pak.a failed"
+ "$(tc-getCC)" \
+ ${LDFLAGS} \
+ ${CFLAGS} \
+ ${CPPFLAGS} \
+ -Wl,-soname,libpak.so \
+ -fPIC \
+ -shared \
+ pak.c -o libpak.so || die "pak.so failed"
}
src_install() {
dolib.so libpak.so
- dolib.a libpak.a
- insinto /usr/include
- doins pak.h
+ doheader pak.h
+
dodoc AUTHORS NEWS README TODO pak.c pak.h
}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2020-11-15 23:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-15 23:24 [gentoo-commits] repo/gentoo:master commit in: dev-games/paklib/ David Seifert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox