libxsettings-client-0.17.ebuild 615 B

123456789101112131415161718192021222324252627282930313233
  1. # Copyright 1999-2013 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. GPE_TARBALL_SUFFIX="bz2"
  4. inherit gpe autotools
  5. DESCRIPTION="XSETTINGS client code"
  6. LICENSE="LGPL-2"
  7. SLOT="0"
  8. KEYWORDS="amd64 arm ~hppa ppc sh x86"
  9. DOCS="ChangeLog"
  10. IUSE=""
  11. RDEPEND="${RDEPEND}"
  12. DEPEND="${DEPEND}
  13. ${RDEPEND}
  14. x11-proto/xproto
  15. x11-libs/libX11"
  16. src_unpack() {
  17. gpe_src_unpack "$@"
  18. sed -i -e \
  19. 's;INCLUDES = -I $(includedir);INCLUDES = -I '$ROOT'/$(includedir);' \
  20. Makefile.am || die "sed failed"
  21. sed -i -e '/^CFLAGS="-Os -Wall"/d' configure.ac || die "sed failed"
  22. eautoreconf
  23. }