diff options
Diffstat (limited to 'gentoo-linux/net-misc/uanytun/uanytun-0.3.2.ebuild')
-rw-r--r-- | gentoo-linux/net-misc/uanytun/uanytun-0.3.2.ebuild | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/gentoo-linux/net-misc/uanytun/uanytun-0.3.2.ebuild b/gentoo-linux/net-misc/uanytun/uanytun-0.3.2.ebuild index 1160ca3..84d6a35 100644 --- a/gentoo-linux/net-misc/uanytun/uanytun-0.3.2.ebuild +++ b/gentoo-linux/net-misc/uanytun/uanytun-0.3.2.ebuild @@ -27,6 +27,7 @@ src_compile() { use examples || myconf="${myconf} --no-examples" econf --ebuild-compat ${myconf} || die "configure failed" + einfo "Building executables" emake || die "make failed" einfo "Building manpages" @@ -34,7 +35,7 @@ src_compile() { } src_install() { - emake install DESTDIR="${D}" || die "failed to install manpages" + emake install DESTDIR="${D}" || die "make install failed" rm -Rf ${D}/etc/init.d #as long as README just contains path to examples, only install it with examples use examples || rm ${D}/etc/${PN}/README @@ -43,20 +44,15 @@ src_install() { cd ../ dodoc AUTHORS ChangeLog README || die "failed to install docs" - - #~ if use examples; then - #~ insinto /usr/share/doc/${PF}/examples/etc/ - #~ doins -r etc/uanytun || die "failed to install examples" - #~ fi } pkg_config() { - [ ! -d "${ROOT}"/usr/share/doc/${PF}/examples/etc/${PN}/ ] && \ + [ ! -d "${ROOT}"/usr/share/doc/${PF}/examples/etc/${PN} ] && \ die "can't copy example configs since examples were not installed (reemerge with USE=\"examples\")" for example in autostart client1 client2 client3 p2p-a p2p-b; do [ -e "${ROOT}"/etc/${PN}/${example} ] && die "${ROOT}/etc/${PN}/${example} already present, rm -R it first" done - cp -vr "${ROOT}"/usr/share/doc/${PF}/examples/etc/${PN} "${ROOT}"/etc/ || die "failed to copy examples" + cp -rv "${ROOT}"/usr/share/doc/${PF}/examples/etc/${PN} "${ROOT}"/etc/ || die "failed to copy examples" } pkg_postinst() { |