diff options
Diffstat (limited to 'x11-terms')
-rw-r--r-- | x11-terms/st/Manifest | 1 | ||||
-rw-r--r-- | x11-terms/st/st-0.7.ebuild | 54 |
2 files changed, 55 insertions, 0 deletions
diff --git a/x11-terms/st/Manifest b/x11-terms/st/Manifest index 4861996828fb..f04119600b53 100644 --- a/x11-terms/st/Manifest +++ b/x11-terms/st/Manifest @@ -1,2 +1,3 @@ DIST st-0.5.tar.gz 36710 SHA256 ae80ddfaf8146f7665772efc9b85e05e08be5087682a689ecdf71aa4d4bfdd4e SHA512 fb5d3b6dfb56f35c60a83164d0da2aef67d9fc23b81fdd7c26b9a618c92524a601db5fc4149a3a5054ca3306ecc80e104fa629ecb1516c047a726012237c83d5 WHIRLPOOL 90083bfaca02f7507e706c4d251736b300553e95c12640d948a8a5c273c5339b2080e34d54113a69e7cd0d083207634c645a55744c443efe77a2f7b40a82f9ad DIST st-0.6.tar.gz 40271 SHA256 85310c08c3814e099b5e45888f8ac7548640e69e9973e934d4fba38b03737a2b SHA512 31e4b6d2b27d6cea79d6a31dabd7ff4e08a8ab376f06c113123810c05eab25e3964482a6429eecd65c369983cc8ee3694f367e3894ed2cc740c67738c1898d29 WHIRLPOOL 94b526dffa7cb2446160acf4d2bb5e78d25f300c3f2ff4549bbe39ad5fae7ea80428ccdaa61a3603c1a3e6f4b98040983f5d468f218542204c62cb88fb776917 +DIST st-0.7.tar.gz 42418 SHA256 f7870d906ccc988926eef2cc98950a99cc78725b685e934c422c03c1234e6000 SHA512 9384820d373bfaaef1887290351d8c34abeef26cd7d50ddbae56ffb865864bcca9be798c6238bf1ce595ba7c317f2c1d97653055da0aa302e322eeee822768d4 WHIRLPOOL 28a799a3fc770dea1d82136580217033245fd74488107afcd428d0cde665c87bcf03d18cec31df0cb74f77ed9ea8b84f22990ce29bc6457c4dafce43bfac1e22 diff --git a/x11-terms/st/st-0.7.ebuild b/x11-terms/st/st-0.7.ebuild new file mode 100644 index 000000000000..453b5018f3d2 --- /dev/null +++ b/x11-terms/st/st-0.7.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +inherit eutils multilib savedconfig toolchain-funcs + +DESCRIPTION="simple terminal implementation for X" +HOMEPAGE="http://st.suckless.org/" +SRC_URI="http://dl.suckless.org/st/${P}.tar.gz" + +LICENSE="MIT-with-advertising" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~x86" +IUSE="savedconfig" + +RDEPEND=" + !<sys-libs/ncurses-6.0 + media-libs/fontconfig + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXft +" +DEPEND=" + ${RDEPEND} + virtual/pkgconfig + x11-proto/xextproto + x11-proto/xproto +" + +src_prepare() { + eapply_user + + sed -e '/^CFLAGS/s:[[:space:]]-O[^[:space:]]*[[:space:]]: :' \ + -e '/^X11INC/{s:/usr/X11R6/include:/usr/include/X11:}' \ + -e "/^X11LIB/{s:/usr/X11R6/lib:/usr/$(get_libdir)/X11:}" \ + -i config.mk || die + sed -e '/@echo/!s:@::' \ + -e '/tic/d' \ + -i Makefile || die + tc-export CC + + restore_config config.h +} + +src_install() { + emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr install + + dodoc TODO + + make_desktop_entry ${PN} simpleterm utilities-terminal 'System;TerminalEmulator;' '' + + save_config config.h +} |