summaryrefslogtreecommitdiff
blob: c2b1597f55e484677d162bf7c42c0149f1ed853f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header:  $

EAPI="4"

DESCRIPTION="A library that adds an easy GUI into OpenGL applications to interactively tweak them on-screen"
HOMEPAGE="http://www.antisphere.com/Wiki/tools:anttweakbar?sb=tools"

SRC_URI="http://www.antisphere.com/Tools/AntTweakBar/AntTweakBar?v -> ${P}.zip"

KEYWORDS="~x86 ~amd64"
LICENSE="ZLIB"
SLOT="0"
IUSE=""

DEPEND=""
RDEPEND="$DEPEND"

S="${WORKDIR}/AntTweakBar"

src_unpack() {
	unpack ${A}
}

src_compile() {
	cd src
	emake || die "${P} could not be compiled"
}

src_install() {
	dolib lib/libAntTweakBar.so
	dolib lib/libAntTweakBar.so.1
	insinto /usr/include
	doins include/AntTweakBar.h
}