/[gentoo-x86]/app-editors/sandy/sandy-0.4.ebuild
Gentoo

Contents of /app-editors/sandy/sandy-0.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Thu May 28 17:33:51 2015 UTC (5 years, 2 months ago) by jer
Branch: MAIN
CVS Tags: HEAD
Initial commit.

(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key A792A613)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: $
4
5 EAPI=5
6 inherit eutils flag-o-matic toolchain-funcs
7
8 DESCRIPTION="an ncurses text editor with an easy-to-read, hackable C source"
9 HOMEPAGE="http://tools.suckless.org/sandy"
10 SRC_URI="http://git.suckless.org/${PN}/snapshot/${P}.tar.bz2"
11
12 LICENSE="MIT-with-advertising"
13 SLOT="0"
14 KEYWORDS="~amd64"
15
16 DEPEND="sys-libs/ncurses"
17 RDEPEND="${DEPEND}"
18
19 src_prepare() {
20 epatch "${FILESDIR}"/${PN}-0.4-gentoo.patch
21 }
22
23 src_compile() {
24 tc-export CC PKG_CONFIG
25 append-cflags -D_DEFAULT_SOURCE
26 emake PREFIX=/usr ${PN}
27 }
28
29 src_install() {
30 emake PREFIX=/usr DESTDIR="${D}" install
31 }

  ViewVC Help
Powered by ViewVC 1.1.20