diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-01-16 21:46:33 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-01-16 21:46:33 +0000 |
commit | b7fbca55feec00e1d91b6992fec47659283416c3 (patch) | |
tree | 902d38293bdb986aed9c805d247605504b3348f8 /dev-games/paklib/paklib-0.3.ebuild | |
parent | new release (Manifest recommit) (diff) | |
download | gentoo-2-b7fbca55feec00e1d91b6992fec47659283416c3.tar.gz gentoo-2-b7fbca55feec00e1d91b6992fec47659283416c3.tar.bz2 gentoo-2-b7fbca55feec00e1d91b6992fec47659283416c3.zip |
initial import
(Portage version: 2.0.51-r13)
Diffstat (limited to 'dev-games/paklib/paklib-0.3.ebuild')
-rw-r--r-- | dev-games/paklib/paklib-0.3.ebuild | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/dev-games/paklib/paklib-0.3.ebuild b/dev-games/paklib/paklib-0.3.ebuild new file mode 100644 index 000000000000..3cf584c3d80f --- /dev/null +++ b/dev-games/paklib/paklib-0.3.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-games/paklib/paklib-0.3.ebuild,v 1.1 2005/01/16 21:46:33 vapier Exp $ + +inherit toolchain-funcs + +DESCRIPTION="library for accessing Quake pak files" +HOMEPAGE="http://sourceforge.net/projects/paklib/" +SRC_URI="mirror://sourceforge/paklib/pak-${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86" +IUSE="" + +DEPEND="" + +S=${WORKDIR}/pak + +src_compile() { + $(tc-getCC) ${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 || die "pak.so failed" + dolib.a libpak.a || die "pak.a failed" + insinto /usr/include + doins pak.h || die "pak.h failed" + dodoc AUTHORS NEWS README TODO pak.c pak.h +} |