50 lines
851 B
Bash
50 lines
851 B
Bash
# Copyright 1999-2006 Gentoo Foundation
|
||
# Distributed under the terms of the GNU General Public License v2
|
||
# $Header: $
|
||
|
||
DESCRIPTION="Vector and bitmap graphics editor"
|
||
HOMEPAGE="http://www.xaraxtreme.org/"
|
||
SRC_URI="http://www.xaraxtreme.org/downloads/XaraLX.tar.bz2"
|
||
LICENSE="GPL-2"
|
||
|
||
SLOT="0"
|
||
KEYWORDS="~x86"
|
||
IUSE="nls"
|
||
|
||
DEPEND="app-arch/zip \
|
||
dev-lang/perl \
|
||
>=media-libs/jpeg-6b \
|
||
>=media-libs/libpng-1.2.8 \
|
||
>=x11-libs/gtk+-2.0 \
|
||
>=x11-libs/wxGTK-2.6.2"
|
||
|
||
RDEPEND="${DEPEND}"
|
||
|
||
S="${WORKDIR}"
|
||
|
||
src_compile() {
|
||
|
||
autoreconf -f -i -s || die "autoreconf failed"
|
||
|
||
econf \
|
||
$(use_enable nls) \
|
||
|| die "econf failed"
|
||
|
||
}
|
||
|
||
src_install() {
|
||
|
||
make DESTDIR=${D} install || die "install failed"
|
||
|
||
}
|
||
|
||
pkg_postinst() {
|
||
|
||
#dodoc AUTHORS ChangeLog NEWS README || die # Still empty files
|
||
|
||
einfo
|
||
einfo "Note the executable name is \"XaraLX\"."
|
||
einfo
|
||
|
||
}
|