summaryrefslogtreecommitdiffstats
path: root/net-nds/pamldapd/pamldapd-0.2.ebuild
blob: 6cf0400bf6b091d93fc27e510a0784afc17a6600 (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
32
33
EAPI=8
inherit go-module
# max 80 chars
DESCRIPTION="Simple LDAP server, uses PAM as backend"
HOMEPAGE="https://github.com/eisin/pamldapd"
SRC_URI="https://github.com/eisin/pamldapd/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz http://splet.sijanec.eu./dir/pamldapd-0.2-vendor.tar.xz"

LICENSE="Apache-2.0"
SLOT="0"
IUSE=""

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

DEPEND="acct-user/pamldapd acct-group/pamldapd"
RDEPEND="${DEPEND}"
BDEPEND=""

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

src_unpack() {
	unpack ${A}
}

src_compile() {
	ego build
}

src_install() {
	dobin pamldapd
	default
}