blob: 6bc501d5c0d4af5a0b1b57fc217a97d1fd82ca52 (
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
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/stimg/stimg-0.1.0.ebuild,v 1.11 2010/11/08 23:20:19 maekke Exp $
EAPI=2
inherit toolchain-funcs
DESCRIPTION="Simple and tiny image loading library"
HOMEPAGE="http://homepage3.nifty.com/slokar/fb/"
SRC_URI="http://homepage3.nifty.com/slokar/stimg/${P}.tar.gz"
LICENSE="as-is LGPL-2"
SLOT="0"
KEYWORDS="alpha amd64 ppc x86"
IUSE="linguas_ja static-libs"
RDEPEND="media-libs/libpng
media-libs/tiff
virtual/jpeg"
DEPEND="${RDEPEND}"
src_configure() {
tc-export CC
econf \
$(use_enable static-libs static)
}
src_install() {
emake DESTDIR="${D}" install || die
find "${D}" -name '*.la' -delete
dodoc AUTHORS
use linguas_ja && dodoc README.ja
}
|