mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-23 23:27:12 -08:00
*/*: [QA] Remove redundant || die guards
* Since all ebuilds in the tree are EAPI>=4, `|| die` on builtin commands is redundant and dead code. Closes: https://github.com/gentoo/gentoo/pull/13940 Reviewed-by: Ulrich Müller <ulm@gentoo.org> Reviewed-by: Michał Górny <mgorny@gentoo.org> Reviewed-by: Andreas K. Hüttel <dilfridge@gentoo.org> Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
@@ -36,11 +36,11 @@ pkg_setup() {
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake || die "Compile failed."
|
||||
emake
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "Install failed."
|
||||
emake DESTDIR="${D}" install
|
||||
dodoc ChangeLog README ToDo
|
||||
newconfd "${FILESDIR}"/espeakup.confd espeakup
|
||||
newinitd "${FILESDIR}"/espeakup.rc espeakup
|
||||
|
||||
@@ -31,7 +31,7 @@ src_prepare() {
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_enable static-libs static) || die
|
||||
econf $(use_enable static-libs static)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
||||
@@ -29,12 +29,12 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
src_compile() {
|
||||
cd "${S}"/client || die
|
||||
emake || die "make failed"
|
||||
emake
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cd "${S}"/client || die
|
||||
emake DESTDIR="${D}" LIBDIR="usr/lib" install || die "make install failed"
|
||||
emake DESTDIR="${D}" LIBDIR="usr/lib" install
|
||||
newbashcomp "${S}/misc/equo-completion.bash" equo
|
||||
|
||||
python_optimize "${D}/usr/lib/entropy/client"
|
||||
|
||||
@@ -84,5 +84,5 @@ src_configure() {
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die
|
||||
emake DESTDIR="${D}" install
|
||||
}
|
||||
|
||||
@@ -19,7 +19,7 @@ src_compile() {
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ide-smart || die
|
||||
dobin ide-smart
|
||||
doman ide-smart.8
|
||||
dodoc README
|
||||
}
|
||||
|
||||
@@ -26,10 +26,10 @@ RDEPEND="entropy? ( ~sys-apps/entropy-${PV}[${PYTHON_USEDEP}] )
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "make install failed"
|
||||
emake DESTDIR="${D}" base-install || die "make base-install failed"
|
||||
emake DESTDIR="${D}" install
|
||||
emake DESTDIR="${D}" base-install
|
||||
if use entropy; then
|
||||
emake DESTDIR="${D}" entropysrv-install || die "make base-install failed"
|
||||
emake DESTDIR="${D}" entropysrv-install
|
||||
fi
|
||||
|
||||
python_optimize "${D}/usr/lib/matter"
|
||||
|
||||
@@ -33,12 +33,12 @@ src_prepare() {
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake RUNDIR=/usr/$(get_libdir)/paxtest || die
|
||||
emake RUNDIR=/usr/$(get_libdir)/paxtest
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" BINDIR=/usr/bin RUNDIR=/usr/$(get_libdir)/paxtest install || die
|
||||
emake DESTDIR="${D}" BINDIR=/usr/bin RUNDIR=/usr/$(get_libdir)/paxtest install
|
||||
|
||||
newman debian/manpage.1.ex paxtest.1 || die
|
||||
dodoc ChangeLog README || die
|
||||
newman debian/manpage.1.ex paxtest.1
|
||||
dodoc ChangeLog README
|
||||
}
|
||||
|
||||
@@ -76,8 +76,7 @@ src_configure() {
|
||||
${myconf} \
|
||||
$(use_enable geoip) \
|
||||
$(use_enable bzip2 bz2) \
|
||||
--with-geodb=${GEODB_DIR} \
|
||||
|| die "econf failed"
|
||||
--with-geodb=${GEODB_DIR}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
||||
@@ -34,7 +34,7 @@ src_install() {
|
||||
dodir /var/lib/xstow
|
||||
|
||||
# install env.d file to add STOWDIR to PATH and LDPATH
|
||||
doenvd "${FILESDIR}/99xstow" || die "doenvd failed"
|
||||
doenvd "${FILESDIR}/99xstow"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
|
||||
@@ -14,6 +14,6 @@ DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "Failed emake install"
|
||||
emake DESTDIR="${D}" install
|
||||
dodoc AUTHORS ChangeLog HACKING NEWS README* TODO
|
||||
}
|
||||
|
||||
@@ -25,7 +25,7 @@ src_compile() {
|
||||
}
|
||||
|
||||
src_install() {
|
||||
newbin CPP/7zip/Bundles/LzmaCon/lzma lzmacon || die
|
||||
newbin CPP/7zip/Bundles/LzmaCon/lzma lzmacon
|
||||
dodoc lzma.txt history.txt
|
||||
use doc && dodoc 7zC.txt 7zFormat.txt Methods.txt
|
||||
}
|
||||
|
||||
@@ -27,7 +27,7 @@ src_configure() {
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin mscompress msexpand || die
|
||||
dobin mscompress msexpand
|
||||
doman mscompress.1 msexpand.1
|
||||
dodoc README ChangeLog
|
||||
}
|
||||
|
||||
@@ -92,18 +92,18 @@ src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
exeinto /opt/rar
|
||||
doexe rar unrar || die
|
||||
doexe rar unrar
|
||||
|
||||
dodir /opt/bin
|
||||
dosym ../rar/rar /opt/bin/rar || die
|
||||
dosym ../rar/unrar /opt/bin/unrar || die
|
||||
dosym ../rar/rar /opt/bin/rar
|
||||
dosym ../rar/unrar /opt/bin/unrar
|
||||
|
||||
insinto /opt/rar
|
||||
if use all_sfx ; then
|
||||
doins "${WORKDIR}"/sfx/*.{sfx,SFX} || die
|
||||
doins "${WORKDIR}"/sfx/*.{sfx,SFX}
|
||||
else
|
||||
doins default.sfx || die
|
||||
doins default.sfx
|
||||
fi
|
||||
doins rarfiles.lst || die
|
||||
doins rarfiles.lst
|
||||
dodoc *.txt
|
||||
}
|
||||
|
||||
@@ -36,9 +36,9 @@ src_compile() {
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin unp || die "dobin failed"
|
||||
dobin unp
|
||||
dosym unp /usr/bin/ucat
|
||||
doman debian/unp.1 || die "doman failed"
|
||||
doman debian/unp.1
|
||||
dodoc debian/changelog debian/README.Debian
|
||||
dobashcomp bash_completion.d/unp
|
||||
|
||||
|
||||
@@ -54,13 +54,13 @@ src_configure() {
|
||||
|
||||
src_compile() {
|
||||
tc-export CXX
|
||||
emake ${progs} || die
|
||||
emake ${progs}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
exeinto /usr/lib/zpaq
|
||||
doexe ${progs} || die
|
||||
doexe ${progs}
|
||||
|
||||
insinto /usr/share/zpaq
|
||||
doins *.cfg || die
|
||||
doins *.cfg
|
||||
}
|
||||
|
||||
@@ -302,7 +302,7 @@ src_install() {
|
||||
source ${TMPENVFILE}
|
||||
|
||||
einfo "Doing stock install"
|
||||
emake DESTDIR="${D}" install || die
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
# Build the envdir file
|
||||
# Don't forget this..
|
||||
|
||||
@@ -309,7 +309,7 @@ src_install() {
|
||||
source ${TMPENVFILE}
|
||||
|
||||
einfo "Doing stock install"
|
||||
emake DESTDIR="${D}" install || die
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
# Build the envdir file
|
||||
# Don't forget this..
|
||||
|
||||
@@ -306,7 +306,7 @@ src_install() {
|
||||
source ${TMPENVFILE}
|
||||
|
||||
einfo "Doing stock install"
|
||||
emake DESTDIR="${D}" install || die
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
# Build the envdir file
|
||||
# Don't forget this..
|
||||
|
||||
@@ -306,7 +306,7 @@ src_install() {
|
||||
source ${TMPENVFILE}
|
||||
|
||||
einfo "Doing stock install"
|
||||
emake DESTDIR="${D}" install || die
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
# Build the envdir file
|
||||
# Don't forget this..
|
||||
|
||||
@@ -306,7 +306,7 @@ src_install() {
|
||||
source ${TMPENVFILE}
|
||||
|
||||
einfo "Doing stock install"
|
||||
emake DESTDIR="${D}" install || die
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
# Build the envdir file
|
||||
# Don't forget this..
|
||||
|
||||
@@ -306,7 +306,7 @@ src_install() {
|
||||
source ${TMPENVFILE}
|
||||
|
||||
einfo "Doing stock install"
|
||||
emake DESTDIR="${D}" install || die
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
# Build the envdir file
|
||||
# Don't forget this..
|
||||
|
||||
@@ -76,8 +76,7 @@ src_install() {
|
||||
dodir /etc /usr/bin /usr/share/man/man{1,5}
|
||||
emake install \
|
||||
PREFIX="${D}"/usr \
|
||||
CONFFILE="${D}"/etc/flexbackup.conf \
|
||||
|| die "emake install failed"
|
||||
CONFFILE="${D}"/etc/flexbackup.conf
|
||||
|
||||
einstalldocs
|
||||
}
|
||||
|
||||
@@ -32,11 +32,11 @@ src_prepare() {
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake prefix="${D}"/usr target=/usr || die
|
||||
emake prefix="${D}"/usr target=/usr
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake prefix="${D}"/usr docdir="${D}"/usr/share/doc/${PF} install || die
|
||||
emake prefix="${D}"/usr docdir="${D}"/usr/share/doc/${PF} install
|
||||
|
||||
python_fix_shebang "${D}"
|
||||
|
||||
|
||||
@@ -48,7 +48,7 @@ src_compile() {
|
||||
|
||||
_apply_linguas() {
|
||||
mv "${D}"/usr/share/locale{,_ALL} || die
|
||||
dodir /usr/share/locale || die
|
||||
dodir /usr/share/locale
|
||||
for lingua in ${LINGUAS}; do
|
||||
[[ -d "${D}"/usr/share/locale_ALL/${lingua} ]] || break
|
||||
mv "${D}"/usr/share/{locale_ALL/${lingua},locale/} || die
|
||||
|
||||
@@ -45,7 +45,7 @@ src_compile() {
|
||||
|
||||
_apply_linguas() {
|
||||
mv "${D}"/usr/share/locale{,_ALL} || die
|
||||
dodir /usr/share/locale || die
|
||||
dodir /usr/share/locale
|
||||
for lingua in ${LINGUAS}; do
|
||||
[[ -d "${D}"/usr/share/locale_ALL/${lingua} ]] || break
|
||||
mv "${D}"/usr/share/{locale_ALL/${lingua},locale/} || die
|
||||
|
||||
@@ -30,9 +30,9 @@ src_configure() {
|
||||
|
||||
myconf="${myconf} $(use_enable debug) --disable-gui"
|
||||
|
||||
econf ${myconf} || die "Failed to compile"
|
||||
econf ${myconf}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install DESTDIR="${D}" || die "Installation failed."
|
||||
emake install DESTDIR="${D}"
|
||||
}
|
||||
|
||||
@@ -28,9 +28,9 @@ src_configure() {
|
||||
|
||||
myconf="${myconf} $(use_enable debug) --disable-gui"
|
||||
|
||||
econf ${myconf} || die "Failed to compile"
|
||||
econf ${myconf}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install DESTDIR="${D}" || die "Installation failed."
|
||||
emake install DESTDIR="${D}"
|
||||
}
|
||||
|
||||
@@ -31,11 +31,11 @@ src_configure() {
|
||||
myconf="$(use_enable debug)"
|
||||
myconf="${myconf} $(use_enable qt5 gui)"
|
||||
|
||||
econf ${myconf} || die "Failed to compile"
|
||||
econf ${myconf}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install DESTDIR="${D}" || die "Installation failed."
|
||||
emake install DESTDIR="${D}"
|
||||
|
||||
cd "${S}"
|
||||
newicon src/gui/pixmaps/os.xpm ophcrack.xpm
|
||||
|
||||
@@ -28,5 +28,5 @@ src_configure() {
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die
|
||||
emake DESTDIR="${D}" install
|
||||
}
|
||||
|
||||
@@ -49,7 +49,7 @@ src_configure() {
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die
|
||||
emake DESTDIR="${D}" install
|
||||
find "${D}" -name '*.la' -delete
|
||||
|
||||
dodoc AUTHORS README
|
||||
|
||||
@@ -16,7 +16,7 @@ KEYWORDS="alpha amd64 hppa ppc ppc64 ~sparc x86"
|
||||
IUSE=""
|
||||
|
||||
each_ruby_configure() {
|
||||
econf --with-rubydir="$(ruby_rbconfig_value 'sitelibdir')" || die
|
||||
econf --with-rubydir="$(ruby_rbconfig_value 'sitelibdir')"
|
||||
}
|
||||
|
||||
each_ruby_compile() {
|
||||
|
||||
@@ -76,7 +76,7 @@ src_configure() {
|
||||
}
|
||||
|
||||
src_compile(){
|
||||
emake -e || die "emake failed"
|
||||
emake -e
|
||||
}
|
||||
|
||||
src_install(){
|
||||
|
||||
@@ -20,15 +20,14 @@ src_compile() {
|
||||
LFLAGS="${LDFLAGS}" \
|
||||
emake -j1 \
|
||||
BUILDDIR="${S}/build" \
|
||||
VERSION="${PV}" \
|
||||
|| die "make failed"
|
||||
VERSION="${PV}"
|
||||
|
||||
emake -C doc || die "make in doc failed"
|
||||
emake -C doc
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin build/halibut || die
|
||||
doman doc/halibut.1 || die
|
||||
dobin build/halibut
|
||||
doman doc/halibut.1
|
||||
dodoc doc/halibut.txt
|
||||
dohtml doc/*.html
|
||||
}
|
||||
|
||||
@@ -21,8 +21,8 @@ src_compile() {
|
||||
LFLAGS="${LDFLAGS}" \
|
||||
BUILDDIR="${S}/build" \
|
||||
VERSION="${PV}" \
|
||||
emake || die "make failed"
|
||||
emake -C doc || die "make in doc failed"
|
||||
emake
|
||||
emake -C doc
|
||||
}
|
||||
|
||||
DOCS=( doc/halibut.txt )
|
||||
|
||||
@@ -26,6 +26,6 @@ src_prepare() {
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install DESTDIR="${D}" || die "Install failed"
|
||||
emake install DESTDIR="${D}"
|
||||
dodoc AUTHORS ChangeLog NEWS README
|
||||
}
|
||||
|
||||
@@ -52,7 +52,7 @@ src_configure() {
|
||||
local dir
|
||||
for dir in appFrame appUtil bitmap docBuf ind Ted tedPackage; do
|
||||
cd "${S}"/${dir}
|
||||
econf --cache-file=../config.cache || die "configure in ${dir} failed"
|
||||
econf --cache-file=../config.cache
|
||||
done
|
||||
}
|
||||
|
||||
|
||||
@@ -180,8 +180,7 @@ src_configure() {
|
||||
--with-newgc \
|
||||
--with-system-malloc \
|
||||
--enable-option-checking=no \
|
||||
--with-last-packages=/usr/lib/xemacs \
|
||||
|| die "configuration failed"
|
||||
--with-last-packages=/usr/lib/xemacs
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
@@ -194,7 +193,7 @@ src_install() {
|
||||
infodir="${D}"/usr/share/info \
|
||||
libdir="${D}"/usr/$(get_libdir) \
|
||||
datadir="${D}"/usr/share \
|
||||
install || die
|
||||
install
|
||||
|
||||
# Rename some applications installed in bin so that it is clear
|
||||
# which application installed them and so that conflicting
|
||||
|
||||
@@ -29,7 +29,7 @@ SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
src_compile() {
|
||||
export GOPATH=${S}
|
||||
cd "${S}"/src/${EGO_PN}/cmd/${PN/kvm/driver-kvm} || die
|
||||
emake build || die
|
||||
emake build
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
||||
@@ -30,7 +30,7 @@ src_prepare() {
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" GOPATH="${WORKDIR}/${P}" emake build || die
|
||||
CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" GOPATH="${WORKDIR}/${P}" emake build
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
||||
@@ -235,7 +235,7 @@ src_compile() {
|
||||
VERSION="$(cat ../../VERSION)" \
|
||||
GITCOMMIT="${DOCKER_GITCOMMIT}" \
|
||||
DISABLE_WARN_OUTSIDE_CONTAINER=1 \
|
||||
dynbinary || die
|
||||
dynbinary
|
||||
|
||||
# build man pages
|
||||
go build -o gen-manpages github.com/docker/cli/man || die
|
||||
|
||||
@@ -236,7 +236,7 @@ src_compile() {
|
||||
VERSION="$(cat ../../VERSION)" \
|
||||
GITCOMMIT="${DOCKER_GITCOMMIT}" \
|
||||
DISABLE_WARN_OUTSIDE_CONTAINER=1 \
|
||||
dynbinary || die
|
||||
dynbinary
|
||||
|
||||
# build man pages
|
||||
go build -o gen-manpages github.com/docker/cli/man || die
|
||||
|
||||
@@ -236,7 +236,7 @@ src_compile() {
|
||||
VERSION="$(cat ../../VERSION)" \
|
||||
GITCOMMIT="${DOCKER_GITCOMMIT}" \
|
||||
DISABLE_WARN_OUTSIDE_CONTAINER=1 \
|
||||
dynbinary || die
|
||||
dynbinary
|
||||
|
||||
# build man pages
|
||||
go build -o gen-manpages github.com/docker/cli/man || die
|
||||
|
||||
@@ -39,7 +39,7 @@ src_configure() {
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "install failed"
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
rm -rf "${D}"/usr/share/doc/${PN}
|
||||
dodoc README.markdown NEWS ChangeLog
|
||||
|
||||
@@ -40,7 +40,7 @@ src_configure() {
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "install failed"
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
rm -rf "${D}"/usr/share/doc/${PN}
|
||||
dodoc README.markdown NEWS ChangeLog
|
||||
|
||||
@@ -375,5 +375,5 @@ src_test () {
|
||||
PATH="${S}/scripts:${S}/src:${PATH}" \
|
||||
TMPDIR="/tmp" \
|
||||
GANETI_MASTER="$(hostname -f)" \
|
||||
emake check || die "emake check failed"
|
||||
emake check
|
||||
}
|
||||
|
||||
@@ -346,5 +346,5 @@ src_test () {
|
||||
PATH="${S}/scripts:${S}/src:${PATH}" \
|
||||
TMPDIR="/tmp" \
|
||||
GANETI_MASTER="$(hostname -f)" \
|
||||
emake check || die "emake check failed"
|
||||
emake check
|
||||
}
|
||||
|
||||
@@ -346,5 +346,5 @@ src_test () {
|
||||
PATH="${S}/scripts:${S}/src:${PATH}" \
|
||||
TMPDIR="/tmp" \
|
||||
GANETI_MASTER="$(hostname -f)" \
|
||||
emake check || die "emake check failed"
|
||||
emake check
|
||||
}
|
||||
|
||||
@@ -327,7 +327,7 @@ src_test() {
|
||||
tests/Makefile
|
||||
|
||||
export VIR_TEST_DEBUG=1
|
||||
HOME="${T}" emake check || die "tests failed"
|
||||
HOME="${T}" emake check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
@@ -352,13 +352,13 @@ src_install() {
|
||||
|
||||
systemd_newtmpfilesd "${FILESDIR}"/libvirtd.tmpfiles.conf libvirtd.conf
|
||||
|
||||
newinitd "${S}/libvirtd.init" libvirtd || die
|
||||
newinitd "${FILESDIR}/libvirt-guests.init-r3" libvirt-guests || die
|
||||
newinitd "${FILESDIR}/virtlockd.init-r1" virtlockd || die
|
||||
newinitd "${FILESDIR}/virtlogd.init-r1" virtlogd || die
|
||||
newinitd "${S}/libvirtd.init" libvirtd
|
||||
newinitd "${FILESDIR}/libvirt-guests.init-r3" libvirt-guests
|
||||
newinitd "${FILESDIR}/virtlockd.init-r1" virtlockd
|
||||
newinitd "${FILESDIR}/virtlogd.init-r1" virtlogd
|
||||
|
||||
newconfd "${FILESDIR}/libvirtd.confd-r5" libvirtd || die
|
||||
newconfd "${FILESDIR}/libvirt-guests.confd" libvirt-guests || die
|
||||
newconfd "${FILESDIR}/libvirtd.confd-r5" libvirtd
|
||||
newconfd "${FILESDIR}/libvirt-guests.confd" libvirt-guests
|
||||
|
||||
DOC_CONTENTS=$(<"${FILESDIR}/README.gentoo-r2")
|
||||
DISABLE_AUTOFORMATTING=true
|
||||
|
||||
@@ -322,7 +322,7 @@ src_test() {
|
||||
tests/Makefile
|
||||
|
||||
export VIR_TEST_DEBUG=1
|
||||
HOME="${T}" emake check || die "tests failed"
|
||||
HOME="${T}" emake check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
@@ -347,13 +347,13 @@ src_install() {
|
||||
|
||||
systemd_newtmpfilesd "${FILESDIR}"/libvirtd.tmpfiles.conf libvirtd.conf
|
||||
|
||||
newinitd "${S}/libvirtd.init" libvirtd || die
|
||||
newinitd "${FILESDIR}/libvirt-guests.init-r4" libvirt-guests || die
|
||||
newinitd "${FILESDIR}/virtlockd.init-r1" virtlockd || die
|
||||
newinitd "${FILESDIR}/virtlogd.init-r1" virtlogd || die
|
||||
newinitd "${S}/libvirtd.init" libvirtd
|
||||
newinitd "${FILESDIR}/libvirt-guests.init-r4" libvirt-guests
|
||||
newinitd "${FILESDIR}/virtlockd.init-r1" virtlockd
|
||||
newinitd "${FILESDIR}/virtlogd.init-r1" virtlogd
|
||||
|
||||
newconfd "${FILESDIR}/libvirtd.confd-r5" libvirtd || die
|
||||
newconfd "${FILESDIR}/libvirt-guests.confd" libvirt-guests || die
|
||||
newconfd "${FILESDIR}/libvirtd.confd-r5" libvirtd
|
||||
newconfd "${FILESDIR}/libvirt-guests.confd" libvirt-guests
|
||||
|
||||
DOC_CONTENTS=$(<"${FILESDIR}/README.gentoo-r2")
|
||||
DISABLE_AUTOFORMATTING=true
|
||||
|
||||
@@ -322,7 +322,7 @@ src_test() {
|
||||
tests/Makefile
|
||||
|
||||
export VIR_TEST_DEBUG=1
|
||||
HOME="${T}" emake check || die "tests failed"
|
||||
HOME="${T}" emake check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
@@ -347,13 +347,13 @@ src_install() {
|
||||
|
||||
systemd_newtmpfilesd "${FILESDIR}"/libvirtd.tmpfiles.conf libvirtd.conf
|
||||
|
||||
newinitd "${S}/libvirtd.init" libvirtd || die
|
||||
newinitd "${FILESDIR}/libvirt-guests.init-r4" libvirt-guests || die
|
||||
newinitd "${FILESDIR}/virtlockd.init-r1" virtlockd || die
|
||||
newinitd "${FILESDIR}/virtlogd.init-r1" virtlogd || die
|
||||
newinitd "${S}/libvirtd.init" libvirtd
|
||||
newinitd "${FILESDIR}/libvirt-guests.init-r4" libvirt-guests
|
||||
newinitd "${FILESDIR}/virtlockd.init-r1" virtlockd
|
||||
newinitd "${FILESDIR}/virtlogd.init-r1" virtlogd
|
||||
|
||||
newconfd "${FILESDIR}/libvirtd.confd-r5" libvirtd || die
|
||||
newconfd "${FILESDIR}/libvirt-guests.confd" libvirt-guests || die
|
||||
newconfd "${FILESDIR}/libvirtd.confd-r5" libvirtd
|
||||
newconfd "${FILESDIR}/libvirt-guests.confd" libvirt-guests
|
||||
|
||||
DOC_CONTENTS=$(<"${FILESDIR}/README.gentoo-r2")
|
||||
DISABLE_AUTOFORMATTING=true
|
||||
|
||||
@@ -325,7 +325,7 @@ src_test() {
|
||||
tests/Makefile
|
||||
|
||||
export VIR_TEST_DEBUG=1
|
||||
HOME="${T}" emake check || die "tests failed"
|
||||
HOME="${T}" emake check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
@@ -351,13 +351,13 @@ src_install() {
|
||||
|
||||
systemd_newtmpfilesd "${FILESDIR}"/libvirtd.tmpfiles.conf libvirtd.conf
|
||||
|
||||
newinitd "${S}/libvirtd.init" libvirtd || die
|
||||
newinitd "${FILESDIR}/libvirt-guests.init-r4" libvirt-guests || die
|
||||
newinitd "${FILESDIR}/virtlockd.init-r1" virtlockd || die
|
||||
newinitd "${FILESDIR}/virtlogd.init-r1" virtlogd || die
|
||||
newinitd "${S}/libvirtd.init" libvirtd
|
||||
newinitd "${FILESDIR}/libvirt-guests.init-r4" libvirt-guests
|
||||
newinitd "${FILESDIR}/virtlockd.init-r1" virtlockd
|
||||
newinitd "${FILESDIR}/virtlogd.init-r1" virtlogd
|
||||
|
||||
newconfd "${FILESDIR}/libvirtd.confd-r5" libvirtd || die
|
||||
newconfd "${FILESDIR}/libvirt-guests.confd" libvirt-guests || die
|
||||
newconfd "${FILESDIR}/libvirtd.confd-r5" libvirtd
|
||||
newconfd "${FILESDIR}/libvirt-guests.confd" libvirt-guests
|
||||
|
||||
DOC_CONTENTS=$(<"${FILESDIR}/README.gentoo-r2")
|
||||
DISABLE_AUTOFORMATTING=true
|
||||
|
||||
@@ -322,7 +322,7 @@ my_src_test() {
|
||||
tests/Makefile
|
||||
|
||||
export VIR_TEST_DEBUG=1
|
||||
HOME="${T}" emake check || die "tests failed"
|
||||
HOME="${T}" emake check
|
||||
}
|
||||
|
||||
my_src_install() {
|
||||
@@ -347,13 +347,13 @@ my_src_install() {
|
||||
|
||||
systemd_newtmpfilesd "${FILESDIR}"/libvirtd.tmpfiles.conf libvirtd.conf
|
||||
|
||||
newinitd "${S}/libvirtd.init" libvirtd || die
|
||||
newinitd "${FILESDIR}/libvirt-guests.init-r4" libvirt-guests || die
|
||||
newinitd "${FILESDIR}/virtlockd.init-r1" virtlockd || die
|
||||
newinitd "${FILESDIR}/virtlogd.init-r1" virtlogd || die
|
||||
newinitd "${S}/libvirtd.init" libvirtd
|
||||
newinitd "${FILESDIR}/libvirt-guests.init-r4" libvirt-guests
|
||||
newinitd "${FILESDIR}/virtlockd.init-r1" virtlockd
|
||||
newinitd "${FILESDIR}/virtlogd.init-r1" virtlogd
|
||||
|
||||
newconfd "${FILESDIR}/libvirtd.confd-r5" libvirtd || die
|
||||
newconfd "${FILESDIR}/libvirt-guests.confd" libvirt-guests || die
|
||||
newconfd "${FILESDIR}/libvirtd.confd-r5" libvirtd
|
||||
newconfd "${FILESDIR}/libvirt-guests.confd" libvirt-guests
|
||||
|
||||
DOC_CONTENTS=$(<"${FILESDIR}/README.gentoo-r2")
|
||||
DISABLE_AUTOFORMATTING=true
|
||||
|
||||
@@ -191,7 +191,7 @@ src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
cd "${GOPATH}/deps/libco" || die "Can't cd to libco dir"
|
||||
dolib.so libco.so || die "Can't install libco.so"
|
||||
dolib.so libco.so
|
||||
|
||||
cd "${GOPATH}/deps/dqlite" || die "Can't cd to dqlite dir"
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
@@ -194,7 +194,7 @@ src_install() {
|
||||
rm -rf VBoxSDL VirtualBox VBoxKeyboard.so
|
||||
fi
|
||||
|
||||
doins -r * || die
|
||||
doins -r *
|
||||
|
||||
# create symlinks for working around unsupported $ORIGIN/.. in VBoxC.so (setuid)
|
||||
dosym ../VBoxVMM.so /opt/VirtualBox/components/VBoxVMM.so
|
||||
|
||||
@@ -194,7 +194,7 @@ src_install() {
|
||||
rm -rf VBoxSDL VirtualBox VBoxKeyboard.so
|
||||
fi
|
||||
|
||||
doins -r * || die
|
||||
doins -r *
|
||||
|
||||
# create symlinks for working around unsupported $ORIGIN/.. in VBoxC.so (setuid)
|
||||
dosym ../VBoxVMM.so /opt/VirtualBox/components/VBoxVMM.so
|
||||
|
||||
@@ -194,7 +194,7 @@ src_install() {
|
||||
rm -rf VBoxSDL VirtualBox{,VM} VBoxKeyboard.so
|
||||
fi
|
||||
|
||||
doins -r * || die
|
||||
doins -r *
|
||||
|
||||
# create symlinks for working around unsupported $ORIGIN/.. in VBoxC.so (setuid)
|
||||
dosym ../VBoxVMM.so /opt/VirtualBox/components/VBoxVMM.so
|
||||
|
||||
@@ -194,7 +194,7 @@ src_install() {
|
||||
rm -rf VBoxSDL VirtualBox{,VM} VBoxKeyboard.so
|
||||
fi
|
||||
|
||||
doins -r * || die
|
||||
doins -r *
|
||||
|
||||
# create symlinks for working around unsupported $ORIGIN/.. in VBoxC.so (setuid)
|
||||
dosym ../VBoxVMM.so /opt/VirtualBox/components/VBoxVMM.so
|
||||
|
||||
@@ -194,7 +194,7 @@ src_install() {
|
||||
rm -rf VBoxSDL VirtualBox{,VM} VBoxKeyboard.so
|
||||
fi
|
||||
|
||||
doins -r * || die
|
||||
doins -r *
|
||||
|
||||
# create symlinks for working around unsupported $ORIGIN/.. in VBoxC.so (setuid)
|
||||
dosym ../VBoxVMM.so /opt/VirtualBox/components/VBoxVMM.so
|
||||
|
||||
@@ -19,5 +19,5 @@ S=${WORKDIR}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/eselect/modules
|
||||
newins "${WORKDIR}/chuck.eselect-${PVR}" chuck.eselect || die
|
||||
newins "${WORKDIR}/chuck.eselect-${PVR}" chuck.eselect
|
||||
}
|
||||
|
||||
@@ -25,5 +25,5 @@ src_prepare() {
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/eselect/modules
|
||||
doins *.eselect || die "doins failed"
|
||||
doins *.eselect
|
||||
}
|
||||
|
||||
@@ -25,5 +25,5 @@ src_prepare() {
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/eselect/modules
|
||||
doins *.eselect || die "doins failed"
|
||||
doins *.eselect
|
||||
}
|
||||
|
||||
@@ -18,5 +18,5 @@ S=${WORKDIR}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/eselect/modules
|
||||
newins "${WORKDIR}/ruby.eselect-${PVR}" ruby.eselect || die
|
||||
newins "${WORKDIR}/ruby.eselect-${PVR}" ruby.eselect
|
||||
}
|
||||
|
||||
@@ -18,5 +18,5 @@ S=${WORKDIR}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/eselect/modules
|
||||
newins "${WORKDIR}/ruby.eselect-${PVR}" ruby.eselect || die
|
||||
newins "${WORKDIR}/ruby.eselect-${PVR}" ruby.eselect
|
||||
}
|
||||
|
||||
@@ -16,7 +16,7 @@ RDEPEND=">=app-admin/eselect-1.2.3"
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/eselect/modules
|
||||
doins vdr-plugin.eselect || die "Could not install eselect module"
|
||||
doins vdr-plugin.eselect
|
||||
|
||||
dosym eselect /usr/bin/vdr-plugin-config
|
||||
}
|
||||
|
||||
@@ -16,5 +16,5 @@ RDEPEND=">=app-admin/eselect-1.0.6"
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/eselect/modules
|
||||
doins vi.eselect || die
|
||||
doins vi.eselect
|
||||
}
|
||||
|
||||
@@ -27,11 +27,11 @@ src_prepare() {
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_enable nls) || die "Error: econf failed!"
|
||||
econf $(use_enable nls)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "Error: install failed!"
|
||||
emake DESTDIR="${D}" install
|
||||
dodoc ChangeLog README
|
||||
}
|
||||
|
||||
|
||||
@@ -27,11 +27,11 @@ src_prepare() {
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_enable nls) || die "Error: econf failed!"
|
||||
econf $(use_enable nls)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "Error: install failed!"
|
||||
emake DESTDIR="${D}" install
|
||||
dodoc ChangeLog README
|
||||
}
|
||||
|
||||
|
||||
@@ -52,14 +52,14 @@ src_configure() {
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -j1 || die "emake failed."
|
||||
emake -j1
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake \
|
||||
prefix="${ED}/usr" \
|
||||
program_prefix="${D}" \
|
||||
install || die
|
||||
install
|
||||
|
||||
find "${ED}" -name "*.la" -type f -delete || die
|
||||
|
||||
|
||||
@@ -24,8 +24,7 @@ src_prepare() {
|
||||
|
||||
src_compile() {
|
||||
emake CC="$(tc-getCC)" \
|
||||
CFLAGS="${CFLAGS} ${LDFLAGS}" \
|
||||
|| die "emake failed"
|
||||
CFLAGS="${CFLAGS} ${LDFLAGS}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
||||
@@ -47,7 +47,7 @@ src_prepare() {
|
||||
|
||||
src_compile() {
|
||||
cd "${S}"/pommed
|
||||
emake CC="$(tc-getCC)" OFLIB=1 || die "emake pommed failed"
|
||||
emake CC="$(tc-getCC)" OFLIB=1
|
||||
|
||||
if use gtk; then
|
||||
cd "${S}"/gpomme
|
||||
@@ -57,11 +57,11 @@ src_compile() {
|
||||
POFILES="${POFILES} po/${LANG}.po"
|
||||
fi
|
||||
done
|
||||
emake CC="$(tc-getCC)" POFILES="${POFILES}" || die "emake gpomme failed"
|
||||
emake CC="$(tc-getCC)" POFILES="${POFILES}"
|
||||
fi
|
||||
if use X; then
|
||||
cd "${S}"/wmpomme
|
||||
emake CC="$(tc-getCC)" || die "emake wmpomme failed"
|
||||
emake CC="$(tc-getCC)"
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ pkg_setup() {
|
||||
|
||||
src_compile() {
|
||||
pushd src/${EGO_PN} || die
|
||||
GOPATH="${S}" emake build || die
|
||||
GOPATH="${S}" emake build
|
||||
popd || die
|
||||
}
|
||||
|
||||
|
||||
@@ -57,17 +57,17 @@ src_compile() {
|
||||
# USBLIB_TYPE=HIDAPI
|
||||
# USBLIB_TYPE=HIDAPI_HIDRAW
|
||||
# USBLIB_TYPE=HIDDATA
|
||||
emake OS=linux USBLIB_TYPE=HIDAPI blink1-tool || die "emake blink1-tool failed"
|
||||
emake OS=linux USBLIB_TYPE=HIDAPI blink1-tool
|
||||
popd &>/dev/null
|
||||
fi
|
||||
if use mini-tool; then
|
||||
pushd commandline/blink1-mini-tool &>/dev/null
|
||||
emake OS=linux blink1-mini-tool || die "emake blink1-mini-tool failed"
|
||||
emake OS=linux blink1-mini-tool
|
||||
popd &>/dev/null
|
||||
fi
|
||||
if use server; then
|
||||
pushd commandline &>/dev/null
|
||||
emake OS=linux blink1-tiny-server || die "emake blink1-tiny-server failed"
|
||||
emake OS=linux blink1-tiny-server
|
||||
popd &>/dev/null
|
||||
fi
|
||||
}
|
||||
|
||||
@@ -42,7 +42,7 @@ src_compile() {
|
||||
|
||||
for target in $targets; do
|
||||
emake clean
|
||||
emake CC="$(tc-getCC)" LOCK="no" ${target} || die "emake ${target} failed"
|
||||
emake CC="$(tc-getCC)" LOCK="no" ${target}
|
||||
done
|
||||
}
|
||||
|
||||
|
||||
@@ -47,7 +47,7 @@ src_prepare() {
|
||||
src_compile() {
|
||||
local msg=""
|
||||
use savedconfig && msg=", please check the configfile"
|
||||
emake CC=$(tc-getCC) ${PN} || die "emake failed${msg}"
|
||||
emake CC=$(tc-getCC) ${PN}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
||||
@@ -41,7 +41,7 @@ src_compile() {
|
||||
tc-export PKG_CONFIG
|
||||
local msg=""
|
||||
use savedconfig && msg=", please check the configfile"
|
||||
emake CC=$(tc-getCC) ${PN} || die "emake failed${msg}"
|
||||
emake CC=$(tc-getCC) ${PN}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
||||
@@ -39,7 +39,7 @@ src_compile() {
|
||||
tc-export PKG_CONFIG
|
||||
local msg=""
|
||||
use savedconfig && msg=", please check the configfile"
|
||||
emake CC=$(tc-getCC) ${PN} || die "emake failed${msg}"
|
||||
emake CC=$(tc-getCC) ${PN}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
||||
@@ -39,7 +39,7 @@ src_compile() {
|
||||
tc-export PKG_CONFIG
|
||||
local msg=""
|
||||
use savedconfig && msg=", please check the configfile"
|
||||
emake CC=$(tc-getCC) ${PN} || die "emake failed${msg}"
|
||||
emake CC=$(tc-getCC) ${PN}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
||||
@@ -32,6 +32,6 @@ src_prepare() {
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
emake DESTDIR="${D}" install
|
||||
rm "${D}"/usr/share/doc/${P}/{COPYING,NEWS}
|
||||
}
|
||||
|
||||
@@ -35,7 +35,7 @@ src_compile() {
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "make install failed"
|
||||
emake DESTDIR="${D}" install
|
||||
rm "$D"/usr/share/doc/${P}/{COPYING,NEWS}
|
||||
|
||||
newconfd "${FILESDIR}/${PN}-1.9.7.confd" ${PN}
|
||||
|
||||
@@ -32,9 +32,9 @@ src_compile() {
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ${PN} || die
|
||||
dobin ${PN}
|
||||
if use X ; then
|
||||
dobin x${PN} || die
|
||||
dobin x${PN}
|
||||
elog "X version was renamed to x${PN}"
|
||||
fi
|
||||
}
|
||||
|
||||
@@ -18,11 +18,11 @@ DEPEND="${RDEPEND}"
|
||||
PATCHES=( "${FILESDIR}/${P}-fix-warnings.patch" )
|
||||
|
||||
src_install() {
|
||||
dobin ifp || die
|
||||
dobin ifp
|
||||
doman ifp.1
|
||||
|
||||
exeinto /usr/share/${PN}
|
||||
doexe nonroot.sh || die
|
||||
doexe nonroot.sh
|
||||
default
|
||||
}
|
||||
|
||||
|
||||
@@ -26,5 +26,5 @@ src_prepare() {
|
||||
|
||||
src_install() {
|
||||
dobin "${PN}"
|
||||
dodoc CHANGES "${PN}rc.sample" README "${DISTDIR}"/mtailrc-syslog.sample || die
|
||||
dodoc CHANGES "${PN}rc.sample" README "${DISTDIR}"/mtailrc-syslog.sample
|
||||
}
|
||||
|
||||
@@ -43,8 +43,7 @@ src_compile() {
|
||||
emake \
|
||||
CC="$(tc-getCC)" \
|
||||
CCOPTIONS="${CFLAGS}" \
|
||||
EXTRA_LDOPTIONS="${LDFLAGS}" \
|
||||
|| die
|
||||
EXTRA_LDOPTIONS="${LDFLAGS}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
||||
@@ -18,11 +18,11 @@ RDEPEND=""
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_compile() {
|
||||
emake CC="$(tc-getCC) ${CFLAGS} ${LDFLAGS}" || die "emake failed"
|
||||
emake CC="$(tc-getCC) ${CFLAGS} ${LDFLAGS}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin pipeworks || die "dobin failed"
|
||||
dobin pipeworks
|
||||
doman pipeworks.1
|
||||
dodoc Changelog README
|
||||
}
|
||||
|
||||
@@ -21,6 +21,6 @@ src_configure() {
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die
|
||||
emake DESTDIR="${D}" install
|
||||
dodoc AUTHORS BUGS ChangeLog NEWS README # PLEA TODO
|
||||
}
|
||||
|
||||
@@ -17,6 +17,6 @@ RDEPEND="app-misc/screen"
|
||||
PATCHES=( "${FILESDIR}/${PN}-CVE-2008-5371.patch" )
|
||||
|
||||
src_install() {
|
||||
dobin screenie || die "dobin failed"
|
||||
dobin screenie
|
||||
default
|
||||
}
|
||||
|
||||
@@ -47,7 +47,7 @@ src_prepare() {
|
||||
|
||||
src_install() {
|
||||
cd "${S}/sleepyhead"
|
||||
dobin SleepyHead || die
|
||||
dodoc ../README || die
|
||||
dodoc docs/* || die
|
||||
dobin SleepyHead
|
||||
dodoc ../README
|
||||
dodoc docs/*
|
||||
}
|
||||
|
||||
@@ -35,7 +35,7 @@ src_configure() {
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die
|
||||
emake DESTDIR="${D}" install
|
||||
dodoc AUTHORS ChangeLog README slmonrc TODO
|
||||
dohtml *.html
|
||||
}
|
||||
|
||||
@@ -65,9 +65,9 @@ src_configure() {
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake AR="$(tc-getAR)" || die "emake failed"
|
||||
emake AR="$(tc-getAR)"
|
||||
|
||||
emake -j 1 -C api/libsphinxclient || die "emake libsphinxclient failed"
|
||||
emake -j 1 -C api/libsphinxclient
|
||||
}
|
||||
|
||||
src_test() {
|
||||
@@ -76,8 +76,8 @@ src_test() {
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "install failed"
|
||||
emake DESTDIR="${D}" -C api/libsphinxclient install || die "install libsphinxclient failed"
|
||||
emake DESTDIR="${D}" install
|
||||
emake DESTDIR="${D}" -C api/libsphinxclient install
|
||||
|
||||
dodoc doc/*
|
||||
|
||||
|
||||
@@ -87,9 +87,9 @@ src_configure() {
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake AR="$(tc-getAR)" || die "emake failed"
|
||||
emake AR="$(tc-getAR)"
|
||||
|
||||
emake -j 1 -C api/libsphinxclient || die "emake libsphinxclient failed"
|
||||
emake -j 1 -C api/libsphinxclient
|
||||
}
|
||||
|
||||
src_test() {
|
||||
@@ -99,8 +99,8 @@ src_test() {
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "install failed"
|
||||
emake DESTDIR="${D}" -C api/libsphinxclient install || die "install libsphinxclient failed"
|
||||
emake DESTDIR="${D}" install
|
||||
emake DESTDIR="${D}" -C api/libsphinxclient install
|
||||
|
||||
dodoc doc/*
|
||||
|
||||
|
||||
@@ -88,9 +88,9 @@ src_configure() {
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake AR="$(tc-getAR)" || die "emake failed"
|
||||
emake AR="$(tc-getAR)"
|
||||
|
||||
emake -j 1 -C api/libsphinxclient || die "emake libsphinxclient failed"
|
||||
emake -j 1 -C api/libsphinxclient
|
||||
}
|
||||
|
||||
src_test() {
|
||||
@@ -100,8 +100,8 @@ src_test() {
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "install failed"
|
||||
emake DESTDIR="${D}" -C api/libsphinxclient install || die "install libsphinxclient failed"
|
||||
emake DESTDIR="${D}" install
|
||||
emake DESTDIR="${D}" -C api/libsphinxclient install
|
||||
|
||||
dodoc doc/*
|
||||
|
||||
|
||||
@@ -70,9 +70,9 @@ src_configure() {
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake AR="$(tc-getAR)" || die "emake failed"
|
||||
emake AR="$(tc-getAR)"
|
||||
|
||||
emake -j 1 -C api/libsphinxclient || die "emake libsphinxclient failed"
|
||||
emake -j 1 -C api/libsphinxclient
|
||||
}
|
||||
|
||||
src_test() {
|
||||
@@ -82,8 +82,8 @@ src_test() {
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "install failed"
|
||||
emake DESTDIR="${D}" -C api/libsphinxclient install || die "install libsphinxclient failed"
|
||||
emake DESTDIR="${D}" install
|
||||
emake DESTDIR="${D}" -C api/libsphinxclient install
|
||||
|
||||
dodoc doc/*
|
||||
|
||||
|
||||
@@ -49,16 +49,15 @@ src_configure() {
|
||||
--without-ctlib \
|
||||
--without-mssql \
|
||||
$(use_enable ssl) \
|
||||
$(use_enable doc docs) \
|
||||
|| die "econf failed"
|
||||
$(use_enable doc docs)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "failed emake install"
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
if use doc; then
|
||||
emake doc/userguide.html || die "emake docs failed"
|
||||
dohtml doc/userguide.html || die "userguide.html not found"
|
||||
emake doc/userguide.html
|
||||
dohtml doc/userguide.html
|
||||
fi
|
||||
|
||||
newinitd "${FILESDIR}"/kannel-sqlbox.initd kannel-sqlbox
|
||||
|
||||
@@ -81,14 +81,14 @@ src_configure() {
|
||||
|
||||
# phase disabled by RESTRICT
|
||||
# src_test() {
|
||||
# emake check || die "emake check failed"
|
||||
# emake check
|
||||
# }
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
if use doc; then
|
||||
emake -j1 DESTDIR="${D}" install-docs || die "emake install-docs failed"
|
||||
emake -j1 DESTDIR="${D}" install-docs
|
||||
fi
|
||||
|
||||
diropts -g kannel -m0750
|
||||
|
||||
@@ -81,14 +81,14 @@ src_configure() {
|
||||
|
||||
# phase disabled by RESTRICT
|
||||
# src_test() {
|
||||
# emake check || die "emake check failed"
|
||||
# emake check
|
||||
# }
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
if use doc; then
|
||||
emake -j1 DESTDIR="${D}" install-docs || die "emake install-docs failed"
|
||||
emake -j1 DESTDIR="${D}" install-docs
|
||||
fi
|
||||
|
||||
diropts -g kannel -m0750
|
||||
|
||||
@@ -40,11 +40,11 @@ src_prepare() {
|
||||
src_install() {
|
||||
local d="/opt/${MY_PN}"
|
||||
insinto ${d}
|
||||
doins -r * || die
|
||||
doins -r *
|
||||
fperms a+rx ${d}/${MY_PN}.sh
|
||||
|
||||
dodir /opt/bin
|
||||
dosym ../${MY_PN}/${MY_PN}.sh /opt/bin/${MY_PN} || die
|
||||
dosym ../${MY_PN}/${MY_PN}.sh /opt/bin/${MY_PN}
|
||||
|
||||
newmenu ../${MY_PN}.desktop ${MY_PN}.desktop || die
|
||||
newicon ../${MY_PN}.png ${MY_PN}.png || die
|
||||
|
||||
@@ -36,7 +36,7 @@ src_prepare() {
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
emake -j1 doc-install install install-links DESTDIR="${D}" || die
|
||||
emake -j1 doc-install install install-links DESTDIR="${D}"
|
||||
|
||||
dodoc ChangeLog CHANGELOG.md README.adoc || die
|
||||
dodoc ChangeLog CHANGELOG.md README.adoc
|
||||
}
|
||||
|
||||
@@ -36,7 +36,7 @@ src_prepare() {
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
emake -j1 doc-install install install-links DESTDIR="${D}" || die
|
||||
emake -j1 doc-install install install-links DESTDIR="${D}"
|
||||
|
||||
dodoc ChangeLog CHANGELOG.md README.adoc || die
|
||||
dodoc ChangeLog CHANGELOG.md README.adoc
|
||||
}
|
||||
|
||||
@@ -26,7 +26,7 @@ src_prepare() {
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin demerge || die
|
||||
dobin demerge
|
||||
dodoc Changelog
|
||||
doman demerge.3
|
||||
}
|
||||
|
||||
@@ -39,13 +39,13 @@ python_prepare_all() {
|
||||
|
||||
python_compile_all() {
|
||||
if use doc; then
|
||||
emake -C docs html || die 'failed to compile the documentation.'
|
||||
emake -C docs html
|
||||
fi
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
local HTML_DOCS=( ${PN}.html )
|
||||
doman ${PN}.1 || die 'doman failed.'
|
||||
doman ${PN}.1
|
||||
if use doc; then
|
||||
mv docs/_build/{html,sphinx} || die 'mv failed.'
|
||||
HTML_DOCS+=( docs/_build/sphinx )
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user