npadmin-0.8.7.ebuild 648 B

123456789101112131415161718192021222324252627282930
  1. # Copyright 1999-2009 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. inherit eutils
  4. DESCRIPTION="Network printer command-line adminstration tool"
  5. SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
  6. HOMEPAGE="http://npadmin.sourceforge.net/"
  7. # this does NOT link against SNMP
  8. DEPEND=""
  9. KEYWORDS="x86 ~amd64 ~ppc"
  10. IUSE=""
  11. LICENSE="GPL-2"
  12. SLOT="0"
  13. src_unpack() {
  14. unpack ${A}
  15. EPATCH_OPTS="-p1 -d ${S}" epatch "${FILESDIR}"/${P}-stdlib.patch
  16. }
  17. src_compile() {
  18. econf || die
  19. emake || die "Make failed."
  20. }
  21. src_install() {
  22. dobin npadmin
  23. doman npadmin.1
  24. dodoc README AUTHORS ChangeLog INSTALL NEWS README TODO
  25. }