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/app-editors/sandy/sandy-0.4.ebuild

32 lines
781 B

# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-editors/sandy/sandy-0.4.ebuild,v 1.1 2015/05/28 17:33:51 jer Exp $
EAPI=5
inherit eutils flag-o-matic toolchain-funcs
DESCRIPTION="an ncurses text editor with an easy-to-read, hackable C source"
HOMEPAGE="http://tools.suckless.org/sandy"
SRC_URI="http://git.suckless.org/${PN}/snapshot/${P}.tar.bz2"
LICENSE="MIT-with-advertising"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="sys-libs/ncurses"
RDEPEND="${DEPEND}"
src_prepare() {
epatch "${FILESDIR}"/${PN}-0.4-gentoo.patch
}
src_compile() {
tc-export CC PKG_CONFIG
append-cflags -D_DEFAULT_SOURCE
emake PREFIX=/usr ${PN}
}
src_install() {
emake PREFIX=/usr DESTDIR="${D}" install
}