summaryrefslogtreecommitdiffstats
path: root/www-apps/searc/searc-0.0.25.ebuild
blob: c9b522cb4ecbfa9231c30eac5ca43f3b4ddcd4ef (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
EAPI=8

# max 80 chars
DESCRIPTION="scraper for search results of popular engines, caches them and creates a HTML UI"
HOMEPAGE="http://ni.sijanec.eu./sijanec/sear.c"
SRC_URI="http://ni.sijanec.eu./sijanec/sear.c/snapshot/sear.c-${PV}.tar.gz -> ${P}.tar.gz"

LICENSE=""
SLOT="0"
IUSE="oldstorage logmem"

# vsi moji programi so nestabilni (:
KEYWORDS="*"

DEPEND="dev-libs/libxml2 net-libs/libmicrohttpd acct-user/searc acct-group/searc"
RDEPEND="${DEPEND}"
BDEPEND=""

# do not use mirrors to download
RESTRICT="mirror"

src_unpack() {
	unpack ${A}
	mv sear.c-${PV} searc-${PV}
}

src_compile() {
	use oldstorage && append-flags "-DSC_OLD_STORAGE"
	use logmem && append-flags "-DSC_LOGMEM"
	emake
}