blob: 3ee96fcdf9e5de395d8bf9c4e795f2ea45964d05 (
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
37
38
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-i18n/iiimgcf/iiimgcf-11.4_p1467.ebuild,v 1.2 2005/01/01 14:29:11 eradicator Exp $
inherit iiimf eutils
DESCRIPTION="IIIMGCF is a GTK+ client framework for IIIMF"
LICENSE="LGPL-2.1"
KEYWORDS="x86"
IUSE="gtk"
RDEPEND="dev-libs/libiiimp
dev-libs/libiiimcf
gtk? ( =x11-libs/gtk+-2* )"
DEPEND="${RDEPEND}
>=sys-apps/sed-4"
src_unpack() {
unpack ${A}
cd ${S}
sed -i -e 's,$(IM_LIBDIR)/iiimcf,/usr/lib,g' \
-e 's,$(IM_LIBDIR)/iiimp,/usr/lib,g' \
Makefile.* || die "sed failed"
}
src_install() {
make DESTDIR=${D} install || die
dodoc AUTHORS ChangeLog
}
pkg_postinst() {
use gtk && gtk-query-immodules-2.0 > ${ROOT}/etc/gtk-2.0/gtk.immodules
}
pkg_postrm() {
use gtk && gtk-query-immodules-2.0 > ${ROOT}/etc/gtk-2.0/gtk.immodules
}
|