3 inherit eutils git-r3 savedconfig
5 DESCRIPTION
="sacc(omys), simple console gopher client"
6 HOMEPAGE
="gopher://bitreich.org/scm/sacc"
7 EGIT_REPO_URI
="git://bitreich.org/sacc"
11 KEYWORDS
="alpha amd64 arm hppa ppc ppc64 sparc x86 amd64-fbsd x86-fbsd"
15 RDEPEND
="dev-libs/libretls"
20 restore_config config.h
24 echo "PREFIX = ${EPREFIX}/usr" >> config.mk
27 echo 'UI=ti' >> config.mk
28 echo 'LIBS=-lcurses -ltinfo' >> config.mk
30 echo 'UI=text' >> config.mk
33 echo 'OSCFLAGS = -D_DEFAULT_SOURCE $(CFLAGS)' >> config.mk
34 echo 'OSCFLAGS += -D_XOPEN_SOURCE=700' >> config.mk
35 echo 'OSCFLAGS += -D_BSD_SOURCE' >> config.mk
36 echo 'OSCFLAGS += -D_GNU_SOURCE' >> config.mk
37 echo 'OSCFLAGS += $(CFLAGS)' >> config.mk
39 echo 'IO = tls' >> config.mk
40 echo 'IOLIBS = -ltls' >> config.mk
41 echo 'IOCFLAGS = -DUSE_TLS' >> config.mk