Привет
Решил не ждать, пока автор barzog-overlay проснется и наконец-то перепишет ebuild chan_dongle, чтоб он собрался под 11 астериск. И почему-то не получается написать свой ебилд. что я делаю не так?
>>> Failed to emerge net-misc/asterisk-chan_dongle-9999, Log file:
>>> '/var/tmp/portage/net-misc/asterisk-chan_dongle-9999/temp/build.log'
* Messages for package net-misc/asterisk-chan_dongle-9999:
* ERROR: net-misc/asterisk-chan_dongle-9999::barzog-overlay failed (prepare phase):
* The source directory '/var/tmp/portage/net-misc/asterisk-chan_dongle-9999/work/asterisk-chan_dongle-9999' doesn't exist
*
* Call stack:
* ebuild.sh, line 714: Called __ebuild_main 'prepare'
* phase-functions.sh, line 955: Called __dyn_prepare
* phase-functions.sh, line 369: Called die
* The specific snippet of code:
* die "The source directory '${S}' doesn't exist"
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
DESCRIPTION="Asterisk Huawei 3G Dongle Channel Driver."
SEC_URI="http://myhomepage.com/${P}.tar.gz"
HOMEPAGE="http://code.google.com/p/asterisk-chan-dongle/"
LICENSE="GPL-3"
SLOT="0"
RDEPEND=">=net-misc/asterisk-11.0"
DEPEND="${RDEPEND}"
src_prepare() {
cd ${S}
eaclocal
eautoconf
automake -a
}
src_install() {
emake DESTDIR="${D}" install
insinto /usr/$(get_libdir)/asterisk/modules
doins "${PN/*-/}.so"
insinto /etc/asterisk
doins etc/dongle.conf
newdoc README.txt README
newdoc LICENSE.txt LICENSE
newdoc etc/extensions.conf extensions.conf.chan_dongle
}