You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
1.2 KiB
46 lines
1.2 KiB
12 years ago
|
# Copyright 1999-2013 Gentoo Foundation
|
||
13 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
11 years ago
|
# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdemu-daemon/cdemu-daemon-2.1.1.ebuild,v 1.1 2013/10/08 16:52:06 tetromino Exp $
|
||
13 years ago
|
|
||
12 years ago
|
EAPI="5"
|
||
|
|
||
|
CMAKE_MIN_VERSION="2.8.5"
|
||
|
|
||
11 years ago
|
inherit cmake-utils eutils
|
||
13 years ago
|
|
||
|
DESCRIPTION="Daemon of the CDEmu optical media image mounting suite"
|
||
|
HOMEPAGE="http://cdemu.org"
|
||
12 years ago
|
SRC_URI="mirror://sourceforge/cdemu/${P}.tar.bz2"
|
||
13 years ago
|
|
||
12 years ago
|
LICENSE="GPL-2+"
|
||
11 years ago
|
SLOT="0/6" # subslot = CDEMU_DAEMON_INTERFACE_VERSION in CMakeLists.txt
|
||
|
KEYWORDS="~amd64 ~hppa ~x86"
|
||
|
IUSE=""
|
||
13 years ago
|
|
||
11 years ago
|
RDEPEND=">=dev-libs/glib-2.32:2
|
||
12 years ago
|
>=dev-libs/libmirage-${PV}:=
|
||
11 years ago
|
>=media-libs/libao-0.8.0:=
|
||
13 years ago
|
sys-apps/dbus
|
||
11 years ago
|
>=sys-fs/vhba-20130607"
|
||
12 years ago
|
DEPEND="${RDEPEND}
|
||
|
virtual/pkgconfig"
|
||
13 years ago
|
|
||
|
src_prepare() {
|
||
12 years ago
|
DOCS="AUTHORS README"
|
||
11 years ago
|
cmake-utils_src_prepare
|
||
13 years ago
|
}
|
||
|
|
||
|
pkg_postinst() {
|
||
|
elog "You will need to load the vhba module to use cdemu devices:"
|
||
|
elog " # modprobe vhba"
|
||
|
elog "To automatically load the vhba module at boot time, edit your"
|
||
|
elog "/etc/conf.d/modules file."
|
||
|
|
||
|
if [[ -e "${ROOT}etc/conf.d/cdemud" ]]; then
|
||
|
elog
|
||
|
elog "${PN} no longer installs an init.d service; instead, it is"
|
||
|
elog "automatically activated when needed via dbus."
|
||
|
elog "You can therefore remove ${ROOT}etc/conf.d/cdemud"
|
||
|
fi
|
||
|
}
|