View previous topic :: View next topic |
Author |
Message |
Mr. Tao Tux's lil' helper
Joined: 20 Jul 2007 Posts: 147
|
Posted: Tue Mar 14, 2017 11:38 am Post subject: write ebuild for binary-only program |
|
|
I would like to install IceWarp mail server and I would like to do it Gentoo way. It's distributed as deb or rpm package.
I skimmed through ebuild writing guide but I have not found anything binary-only specific. I also checked firefox-bin and libreoffice-bin ebuilds.
The installation is handled by Makefile script.
I would really appreciate any pointers on how to proceed.
Code: | # Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit unpacker user
DESCRIPTION="Secure Email, Calendar, Documents & Chat for Teams"
HOMEPAGE="https://www.icewarp.com/"
SRC_URI="
amd64? ( http://www.icewarp.com/download/server/Debian/Debian8/${PN}11/IceWarpServer-${PV}_DEB8_x64.tar.gz )"
LICENSE=""
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}"
#USE_RPMOFFSET_ONLY=1
#S=${WORKDIR}/IceWarpServer-${PV}.0_RHEL7_x64/
S=${WORKDIR}/IceWarpServer-${PV}.0_DEB8_x64
#src_unpack () {
# rpm_src_unpack ${A}
# cd "${S}"
#}
pkg_setup () {
enewuser icewarp
}
src_install () {
declare -x ICEWARP_INSTALL_PREFIX="${D}"
emake install
} |
|
|
Back to top |
|
|
Tony0945 Watchman
Joined: 25 Jul 2006 Posts: 5127 Location: Illinois, USA
|
|
Back to top |
|
|
|