- migrated to Exherbo

- added a few initial Pantheon components
This commit is contained in:
Martin Sekera 2018-12-08 23:26:56 +01:00
parent cb6360a7e8
commit 2d2bbbc830
85 changed files with 931 additions and 2 deletions

View file

@ -1,58 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
CMAKE_IN_SOURCE_BUILD="1"
inherit cmake-utils systemd
DESCRIPTION="Shrew soft VPN Client"
HOMEPAGE="http://www.shrew.net/"
SRC_URI="http://www.shrew.net/download/${PN}/${P}-release.tbz2"
LICENSE="shrew"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="ldap nat qt4 systemd"
COMMON_DEPEND="dev-libs/libedit
dev-libs/openssl
qt4? ( dev-qt/qtgui:4 )
ldap? ( net-nds/openldap )"
DEPEND="${COMMON_DEPEND}
dev-util/cmake
>=sys-devel/bison-2.3
sys-devel/flex"
RDEPEND="${COMMON_DEPEND}"
#DOCS="CONTRIB.TXT README.TXT TODO.TXT"
S="${WORKDIR}/${PN}"
src_configure(){
mycmakeargs+=( $(cmake-utils_use ldap LDAP)
$(cmake-utils_use nat NATT)
$(cmake-utils_use qt4 QTGUI)
"-DMANDIR=/usr/share/man"
"-DETCDIR=/etc/ike"
)
cmake-utils_src_configure
}
src_install(){
cmake-utils_src_install
insinto /usr/share/applications
insinto /usr/share/pixmaps
doins "${S}"/source/qikea/png/ikea.png
}
pkg_postinst() {
elog "a default configuration for the IKE Daemon"
elog "is stored in /etc/ike/iked.conf.sample"
}