From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- dev-games/paklib/Manifest | 3 +++ dev-games/paklib/metadata.xml | 11 +++++++++++ dev-games/paklib/paklib-0.3.ebuild | 29 +++++++++++++++++++++++++++++ 3 files changed, 43 insertions(+) create mode 100644 dev-games/paklib/Manifest create mode 100644 dev-games/paklib/metadata.xml create mode 100644 dev-games/paklib/paklib-0.3.ebuild (limited to 'dev-games/paklib') diff --git a/dev-games/paklib/Manifest b/dev-games/paklib/Manifest new file mode 100644 index 000000000000..c7041723434a --- /dev/null +++ b/dev-games/paklib/Manifest @@ -0,0 +1,3 @@ +DIST pak-0.3.tar.gz 12885 BLAKE2B d2d5815fcb358e6848b4739b0a949e99bbf9ddc2e61fd33aa76527c192eab822ea6c83a79969269fff2e5d6a6b83776d2e757691cc7fbbf244bf840b9297e5df SHA512 05eb8402fc1b1b0ab381dbf815c59fa1fde1e1aa081c124d0f2f3b257fdefd23e9c7995c055b368f53dabab60722b6505976bc601d991265581ee36cb96b7750 +EBUILD paklib-0.3.ebuild 683 BLAKE2B 5fb6cd1463e1f0644d5e3247e1fe8243b84565876840b7139247879566c975742fe1f798998289ed05033435767fb0507ec9202290cf307eb50162ed6b9339fc SHA512 dfbb47532a6107e6093cf19c317669eebfc7a749f8a9e056fdfb146c0f327a60ff18bbf195979f4d9b561666d717f7ce9f6e1bde7289ef099f914c5afa118b84 +MISC metadata.xml 329 BLAKE2B 0b663ce7d95e0454d7e928ee3de952071fa19ae50d29f9a2dd163e02577ba5f034ce665ab545e19b425ba45264c8730d9051590ef124645cf3b0edc27aa11269 SHA512 949275b2029d9a51b2c076b5706a2b58c6e9a41ca0a5d126871ca9580d861f8a8882d257fb0a07c150f86d21a6084429e4f55a990a884a861d31e54e6d888cca diff --git a/dev-games/paklib/metadata.xml b/dev-games/paklib/metadata.xml new file mode 100644 index 000000000000..18cdb530e7b8 --- /dev/null +++ b/dev-games/paklib/metadata.xml @@ -0,0 +1,11 @@ + + + + + games@gentoo.org + Gentoo Games Project + + + paklib + + diff --git a/dev-games/paklib/paklib-0.3.ebuild b/dev-games/paklib/paklib-0.3.ebuild new file mode 100644 index 000000000000..b046ce39026f --- /dev/null +++ b/dev-games/paklib/paklib-0.3.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit toolchain-funcs + +DESCRIPTION="library for accessing Quake pak files" +HOMEPAGE="https://sourceforge.net/projects/paklib/" +SRC_URI="mirror://sourceforge/paklib/pak-${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +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" +} + +src_install() { + dolib.so libpak.so + dolib.a libpak.a + insinto /usr/include + doins pak.h + dodoc AUTHORS NEWS README TODO pak.c pak.h +} -- cgit v1.2.3