net-nds/apachedirectorystudio: New package

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr>
This commit is contained in:
Alarig Le Lay 2020-10-10 12:31:38 +02:00
parent ee7858553e
commit dfbb6c5dca
Signed by: alarig
GPG key ID: 7AFE62C6DF8BCDEC
3 changed files with 56 additions and 0 deletions

View file

@ -0,0 +1 @@
DIST ApacheDirectoryStudio-2.0.0.v20200411-M15-linux.gtk.x86_64.tar.gz 138213439 BLAKE2B d3bd06af86f1605de8cf7cf2f8d1648709f9d1ceb97d0bffb4c14a800daeba65c0d1cefbfc4d2c0f123c1930b4fe0d658bee9c8dd162ec7ee7e3c7a815850487 SHA512 5fc6eee48ef63eef05f4c9a1859d4e60bbcdadc965cc34c0fb3be1e35c7a7ec69aeb07cc523a26eaf31b82289c848ce768c96928c4a4c6945aa3ddc36619d33a

View file

@ -0,0 +1,47 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="6"
inherit eutils versionator
MY_PV=$(replace_version_separator 3 '.v')
MY_PN="ApacheDirectoryStudio"
MY_PKGM=15
DESCRIPTION="Apache Directory Studio is an universal LDAP directory tool."
SRC_URI="http://www.us.apache.org/dist/directory/studio/${MY_PV}-M${MY_PKGM}/${MY_PN}-${MY_PV}-M${MY_PKGM}-linux.gtk.x86_64.tar.gz"
HOMEPAGE="http://directory.apache.org/studio/"
KEYWORDS="~amd64"
SLOT="2"
LICENSE="Apache-2.0"
IUSE=""
RDEPEND="
>=virtual/jre-1.8.0
app-crypt/libsecret
x11-libs/gtk+:2
"
MY_ARCH="$ARCH"
INSTALL_DIR="/opt/${MY_PN}"
S="${WORKDIR}/${MY_PN}"
src_install() {
insinto "${INSTALL_DIR}"
newicon "features/org.apache.directory.studio.schemaeditor.feature_${MY_PV}-M${MY_PKGM}/studio.png" "${MY_PN}.png"
#newicon "${MY_PN}/icon.xpm" "${MY_PN}.xpm"
make_desktop_entry "${MY_PN}" "Apache Directory Studio" "${MY_PN}" "System"
doins -r *
fperms +x "${INSTALL_DIR}/${MY_PN}"
dosym "${INSTALL_DIR}/${MY_PN}" "/usr/bin/${MY_PN}"
}

View file

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>alarig@swordarmor.fr</email>
<name>Alarig Le Lay</name>
</maintainer>
</pkgmetadata>