You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/media-gfx/paint-mono/paint-mono-0.1.63.ebuild

32 lines
706 B

# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=2
inherit mono multilib
DESCRIPTION="An unofficial effort to port Paint.NET 3.0 to Linux using Mono"
HOMEPAGE="https://github.com/shana/paint-mono"
SRC_URI="https://${PN}.googlecode.com/files/paintdotnet-${PV}.tar.gz"
LICENSE="MIT CC-BY-NC-ND-2.5"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
DEPEND=">=dev-lang/mono-2.4[-minimal]"
RDEPEND="${DEPEND}"
S="${WORKDIR}/paintdotnet-${PV}"
src_configure() {
./configure --prefix=/usr
}
src_install() {
emake DESTDIR="${D}" install
mono_multilib_comply
sed -i -e 's:usr/local:usr:' "${D}"/usr/$(get_libdir)/pkgconfig/* "${D}"/usr/bin/*
}