From 4c9626f8fad355c4793aec6a5b8aa439f09bc939 Mon Sep 17 00:00:00 2001 From: "Santiago M. Mola" Date: Sat, 31 May 2008 22:40:25 +0000 Subject: Initial ebuild, thanks to Cedric Krier. (Portage version: 2.1.4.4) --- x11-misc/lsw/ChangeLog | 10 ++++++++++ x11-misc/lsw/Manifest | 4 ++++ x11-misc/lsw/lsw-0.1.ebuild | 42 ++++++++++++++++++++++++++++++++++++++++++ x11-misc/lsw/metadata.xml | 9 +++++++++ 4 files changed, 65 insertions(+) create mode 100644 x11-misc/lsw/ChangeLog create mode 100644 x11-misc/lsw/Manifest create mode 100644 x11-misc/lsw/lsw-0.1.ebuild create mode 100644 x11-misc/lsw/metadata.xml (limited to 'x11-misc/lsw') diff --git a/x11-misc/lsw/ChangeLog b/x11-misc/lsw/ChangeLog new file mode 100644 index 000000000000..2887271aa3cb --- /dev/null +++ b/x11-misc/lsw/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for x11-misc/lsw +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/lsw/ChangeLog,v 1.1 2008/05/31 22:40:25 coldwind Exp $ + +*lsw-0.1 (31 May 2008) + + 31 May 2008; Santiago M. Mola +metadata.xml, + +lsw-0.1.ebuild: + Initial ebuild, thanks to Cedric Krier. + diff --git a/x11-misc/lsw/Manifest b/x11-misc/lsw/Manifest new file mode 100644 index 000000000000..57693ebfb3e2 --- /dev/null +++ b/x11-misc/lsw/Manifest @@ -0,0 +1,4 @@ +DIST lsw-0.1.tar.gz 2570 RMD160 61175862ed67b09272b296ab9fcfbf0b8ec02861 SHA1 4511a2af63820b5fcc918e3d010fb112933d3603 SHA256 2391b4d5c5368e0c8ccc1e4706e3826bdf77bdc63050af10344446511ddb26d7 +EBUILD lsw-0.1.ebuild 788 RMD160 9788aaf44f53bae11baf42cb28e55c9b9ab42c19 SHA1 d84ba1651f6218dc236380f0374850e5d9a79147 SHA256 2dc772a58a0b97675535b1f8d4302ce383b8fc8d9c523d65cd7527ec3439fe0d +MISC ChangeLog 268 RMD160 a5dfbfd7a00f125de0cf14525be3a1960129a163 SHA1 bd2e5b0e95497233c24387d697141b65014ba9df SHA256 eaea8c152108cece7997218f85c2d7795e3568ce76dc460132f8c21d95a27673 +MISC metadata.xml 261 RMD160 786ba4b03b830d6647045395cc825a6c4a5a10aa SHA1 004b5abfcf90f4418c9dc70c10610b8dba37184f SHA256 48f0a84ab0fbc91f4d9521288a176fff125121fab5a03a1773c9077e9e4acff0 diff --git a/x11-misc/lsw/lsw-0.1.ebuild b/x11-misc/lsw/lsw-0.1.ebuild new file mode 100644 index 000000000000..2327512573f6 --- /dev/null +++ b/x11-misc/lsw/lsw-0.1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/lsw/lsw-0.1.ebuild,v 1.1 2008/05/31 22:40:25 coldwind Exp $ + +inherit toolchain-funcs + +DESCRIPTION="list window names" +HOMEPAGE="http://tools.suckless.org/view/x+tools" +SRC_URI="http://suckless.org/download/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="x11-libs/libX11" +DEPEND="${RDEPEND} + x11-proto/xproto" + +src_unpack() { + unpack ${A} + cd "${S}" + + sed -i \ + -e "s/.*strip.*//" \ + Makefile || die "sed failed" + + sed -i \ + -e "s/CFLAGS = -Os/CFLAGS +=/" \ + -e "s/LDFLAGS =/LDFLAGS +=/" \ + config.mk || die "sed failed" +} + +src_compile() { + emake CC=$(tc-getCC) || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" PREFIX="/usr" install || die "emake install failed" + + dodoc README +} diff --git a/x11-misc/lsw/metadata.xml b/x11-misc/lsw/metadata.xml new file mode 100644 index 000000000000..44e19b92d3e5 --- /dev/null +++ b/x11-misc/lsw/metadata.xml @@ -0,0 +1,9 @@ + + + +desktop-misc + + coldwind@gentoo.org + Santiago M. Mola + + -- cgit v1.2.3-65-gdbad