parent
8f4f034aca
commit
5379d5cb9e
@ -0,0 +1,66 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit distutils git
|
||||
|
||||
EGIT_REPO_URI="git://git.calculate.ru/calculate-client.git"
|
||||
|
||||
DESCRIPTION="The program of setting and storing the user account in the domain"
|
||||
HOMEPAGE="http://www.calculate-linux.org/main/en/calculate2"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="2.2"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="kde xfce gnome"
|
||||
|
||||
DEPEND="=sys-apps/calculate-lib-2.2.9999
|
||||
>=dev-python/python-ldap-2.0[ssl]
|
||||
>=sys-auth/pam_ldap-180[ssl]
|
||||
>=sys-auth/nss_ldap-239
|
||||
>=sys-apps/keyexec-0.1.2
|
||||
>=sys-apps/hal-0.5.9
|
||||
sys-apps/keyutils
|
||||
sys-auth/pam_keystore
|
||||
dev-python/py-smbpasswd
|
||||
xfce? ( x11-misc/slim
|
||||
x11-misc/xdialog )
|
||||
gnome? ( gnome-base/gdm
|
||||
x11-misc/xdialog )
|
||||
kde? ( kde-base/kdm
|
||||
kde-base/kdialog )"
|
||||
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
ISUPDATE=/tmp/${PN}.ebuild.update
|
||||
|
||||
# for fixing bug of ebuild calculate-client-2.0.17
|
||||
OLDISUPDATEPATH="${PORTAGE_TMPDIR}/portage/${CATEGORY}/${PN}-2.0.17/temp/"
|
||||
OLDISUPDATE="${OLDISUPDATEPATH}/${PN}.update"
|
||||
|
||||
pkg_preinst() {
|
||||
touch ${ISUPDATE}
|
||||
rm -f /etc/init.d/client
|
||||
|
||||
# for fixing bug of ebuild calculate-client-2.0.17
|
||||
mkdir -p ${OLDISUPDATEPATH}
|
||||
touch ${OLDISUPDATE}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
cl-client --install
|
||||
rm ${ISUPDATE}
|
||||
|
||||
# for fixing bug of ebuild calculate-client-2.0.17
|
||||
rm -rf ${PORTAGE_TMPDIR}/portage/${CATEGORY}/${PN}-2.0.17
|
||||
rmdir ${PORTAGE_TMPDIR}/portage/${CATEGORY} &>/dev/null
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
# for fixing bug of ebuild calculate-client-2.0.17 (|| -e ${OLDISUPDATE} )
|
||||
if ! [[ -e ${ISUPDATE} || -e ${OLDISUPDATE} ]];
|
||||
then
|
||||
cl-client --uninstall
|
||||
fi
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
EBUILD calculate-desktop-2.2.9999.ebuild 466 RMD160 41ddf276b0a91392e27ee6a068e911e6f53c31fb SHA1 e0f08272fe50398f24fcaeb77a1d48cb9168249f SHA256 c71126e13dcf02210a9f613d58828c5395aeba73f423413c2624bdb4fe5c4508
|
||||
EBUILD calculate-desktop-2.2.9999.ebuild 468 RMD160 ee6d69f75b5e0a82e70ffa42d980970b9298bd7a SHA1 215b9dec50ae48284d782eb40ed9c0fa263b3bb4 SHA256 206e54e5ce0d4b9827382c33031a35d588d4d6eb4eb7b030ccaedf75cdfd606d
|
||||
MISC ChangeLog 332 RMD160 a061769ab4b0e41cbd331092770004c1f4aeb100 SHA1 23600311c04aa6b90adfa22315a1a1af15698e77 SHA256 b7d0f5c01d2ca2e7a7c6930554a323660c08226d2f93b386dda96ecfd03a4322
|
||||
MISC metadata.xml 315 RMD160 36a1a8d03aed0a483def83e076f484a64d452a8b SHA1 f6e70641eab777d2417d8a7600e8d3f09f53f96f SHA256 67fea0b1af7d10c0f86e72ab40f527e99c6f81f7aace4716344bdfb97c769a18
|
||||
|
Loading…
Reference in new issue