2007-08-02 17:09:55 +02:00
|
|
|
# Copyright 1999-2007 Gentoo Foundation, Inc.
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
# $Header: $
|
|
|
|
|
|
|
|
inherit autotools rpm kde
|
|
|
|
|
|
|
|
MY_P=${P/_p/-}
|
|
|
|
|
|
|
|
DESCRIPTION="KDE kio slave for slp (using openslp)"
|
|
|
|
HOMEPAGE="http://opensuse.org"
|
2007-08-02 22:17:08 +02:00
|
|
|
SRC_URI="ftp://mars.arge.at/n4g/${MY_P}.src.rpm
|
2007-08-15 18:09:10 +02:00
|
|
|
http://ftp.mars.arge.at/n4g/${MY_P}.src.rpm
|
2007-08-02 22:17:08 +02:00
|
|
|
http://download.opensuse.org/distribution/SL-OSS-factory/inst-source/suse/src/${MY_P}.src.rpm"
|
2007-08-02 17:09:55 +02:00
|
|
|
|
|
|
|
LICENSE="GPL-2"
|
|
|
|
SLOT="0"
|
|
|
|
IUSE=""
|
|
|
|
|
|
|
|
KEYWORDS="~x86 ~amd64"
|
|
|
|
|
|
|
|
RDEPEND="net-libs/openslp"
|
|
|
|
|
|
|
|
DEPEND="|| ( kde-base/kapptemplate kde-base/kdesdk )
|
|
|
|
${RDEPEND}"
|
|
|
|
|
|
|
|
S=${WORKDIR}/${PN}
|
|
|
|
|
|
|
|
need-kde 3.4
|
|
|
|
|
|
|
|
src_unpack() {
|
|
|
|
rpm_src_unpack
|
|
|
|
|
|
|
|
cd ${PN}
|
|
|
|
cp -a ${KDEDIR}/share/apps/kapptemplate/admin admin
|
|
|
|
chmod +x admin/detect-autoconf.pl
|
|
|
|
}
|
|
|
|
|
|
|
|
pkg_postinst()
|
|
|
|
{
|
|
|
|
echo
|
|
|
|
einfo "To start using the services provided by kio_slp,"
|
|
|
|
einfo "point Konqueror to 'service:/', 'slp:/' and/or 'mdns:/'"
|
|
|
|
echo
|
|
|
|
}
|