summaryrefslogtreecommitdiff
path: root/dev-games/paklib
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-games/paklib
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-games/paklib')
-rw-r--r--dev-games/paklib/Manifest5
-rw-r--r--dev-games/paklib/metadata.xml11
-rw-r--r--dev-games/paklib/paklib-0.3.ebuild29
3 files changed, 45 insertions, 0 deletions
diff --git a/dev-games/paklib/Manifest b/dev-games/paklib/Manifest
new file mode 100644
index 000000000000..140a38862e67
--- /dev/null
+++ b/dev-games/paklib/Manifest
@@ -0,0 +1,5 @@
+DIST pak-0.3.tar.gz 12885 SHA256 6139688e96d044386ac92e587791bf29d0adc501240765bb08fe4b00f31cf6c9 SHA512 05eb8402fc1b1b0ab381dbf815c59fa1fde1e1aa081c124d0f2f3b257fdefd23e9c7995c055b368f53dabab60722b6505976bc601d991265581ee36cb96b7750 WHIRLPOOL 982cebeb1f48ecd0099f694f00ebcf292968fa1710b6b1020e760fbdcf95e70cdccc7caed75a65ead3b856839fe84f89c090e25b772f0d3de387ea5c7068d821
+EBUILD paklib-0.3.ebuild 683 SHA256 9e13f6461ff64ef9029a0e259be71a347ac38a2e57d9ea0170812cb2f7485bc1 SHA512 dfbb47532a6107e6093cf19c317669eebfc7a749f8a9e056fdfb146c0f327a60ff18bbf195979f4d9b561666d717f7ce9f6e1bde7289ef099f914c5afa118b84 WHIRLPOOL 56a038048435b94cdd7e097b780a78c2213627d5462164c79b7cbb1373ea1ab05848680b8b19349554777f3f9397e47583389dba61a316c1fe8bf2d0dd2737d0
+MISC ChangeLog 2530 SHA256 e61fb3d6350e01beb34c75ea889fabcf3c51d79471255a92b2161ff6fec154bc SHA512 7e29b766b74eea29457c10b7a36411a9e501bb934d28e0174021087f1b89eccd9e0a41caf2ebf259b7700086ce3e6906bfa4c99596f7e58a7da2633099ce48ac WHIRLPOOL 62fc0253d3e8ff71b0b4f7807a44083d539b5d6e1eadd1b6452ea061a49a2b43b97819a81563916560ad3351b773ab3a1b7ccb0cef272f331e0b0cc63f479c25
+MISC ChangeLog-2015 740 SHA256 5683f2fa52cb0315d394e9d3d0b60d8dd729a7ad26e3a24e7b706c0115d480e4 SHA512 2cf50bfb7e9ad9d00a0cd36593fe2c21666abbf7659a87ba328d5f28e1abc27d9e9131d3fd75404a109672914a096f4639b9fd6b73d5035b11165d16204a8b62 WHIRLPOOL 6fd37632a505fd47d0a65464da63906b8dbc574a105c372d608ddee61c2a038424efa9eeab4fe415a4f52d90ba723b8ecb885ee0c7eaba3a7a3fa18cdb1756c4
+MISC metadata.xml 329 SHA256 2fdd827699fa46139f4dedb4c6771dd97b3dc0ef453754abb2496c91ee3370da SHA512 949275b2029d9a51b2c076b5706a2b58c6e9a41ca0a5d126871ca9580d861f8a8882d257fb0a07c150f86d21a6084429e4f55a990a884a861d31e54e6d888cca WHIRLPOOL b486a07dd355c93b389099fa079ce60cf1a1fcd22189ee85d715b8d2715f14589dcf0eec708635525d5991401cb412f75d002042f5fe3ceff71bb425f104ef10
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>games@gentoo.org</email>
+ <name>Gentoo Games Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">paklib</remote-id>
+ </upstream>
+</pkgmetadata>
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
+}