aboutsummaryrefslogblamecommitdiffstats
path: root/www-apps/sblg/sblg-0.5.9.ebuild
blob: d07799666177cbc7a60f8d32bffeb83d309c2e64 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
                               










                                                                  
               











                                                                             




                                                              
 
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

DESCRIPTION="Simple off-line blog utility"
HOMEPAGE="https://kristaps.bsd.lv/sblg/"
SRC_URI="https://kristaps.bsd.lv/sblg/snapshots/${P}.tar.gz"

LICENSE="ISC"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="examples"

DEPEND="dev-libs/expat"
RDEPEND="${DEPEND}"
BDEPEND=""

RESTRICT="mirror"

src_configure() {
	./configure PREFIX="${EPREFIX}/usr" MANDIR="${EPREFIX}/usr/share/man"
}

src_install() {
	emake DESTDIR="${D}" install

	if ! use examples; then
		rm -rf "${ED}/usr/share/${PN}/examples" || die
	fi
}