pmount-gui-0_pre20130806.ebuild 712 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. # Copyright 1999-2016 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=5
  4. if [ ${PV} = 9999* ]; then
  5. EGIT_REPO_URI="git://git.tdb.fi/pmount-gui"
  6. inherit git-2
  7. else
  8. SRC_URI="https://dev.gentoo.org/~ssuominen/${P}.tar.xz"
  9. KEYWORDS="~amd64 ~x86"
  10. fi
  11. inherit toolchain-funcs
  12. DESCRIPTION="A simple graphical frontend for pmount"
  13. HOMEPAGE="http://git.tdb.fi/?p=pmount-gui.git;a=summary"
  14. LICENSE="BSD-2"
  15. SLOT="0"
  16. IUSE=""
  17. COMMON_DEPEND="x11-libs/gtk+:2"
  18. RDEPEND="${COMMON_DEPEND}
  19. sys-apps/pmount
  20. virtual/udev"
  21. DEPEND="${COMMON_DEPEND}
  22. virtual/pkgconfig"
  23. src_compile() {
  24. emake CC="$(tc-getCC) ${CFLAGS} ${LDFLAGS}"
  25. }
  26. src_install() {
  27. dobin ${PN}
  28. dodoc README.txt
  29. }