summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2010-01-15 21:38:42 +0000
committerMichał Górny <mgorny@gentoo.org>2010-01-15 21:38:42 +0000
commita02314acede8c1708cfb5d8f4325b30b3d088a6c (patch)
tree340ad283674b6abb550c5103a6cfff5ccbf6aa26 /x11-misc
parentapp-misc/ssid: Dropping live version as it is the same as 0.1 one, and there ... (diff)
downloadsunrise-a02314acede8c1708cfb5d8f4325b30b3d088a6c.tar.gz
sunrise-a02314acede8c1708cfb5d8f4325b30b3d088a6c.tar.bz2
sunrise-a02314acede8c1708cfb5d8f4325b30b3d088a6c.zip
x11-misc/swarp: General polishing and SRC_URI update.
svn path=/sunrise/; revision=9882
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/swarp/ChangeLog6
-rw-r--r--x11-misc/swarp/Manifest4
-rw-r--r--x11-misc/swarp/swarp-0.1.ebuild20
3 files changed, 18 insertions, 12 deletions
diff --git a/x11-misc/swarp/ChangeLog b/x11-misc/swarp/ChangeLog
index 30d931425..016f0e300 100644
--- a/x11-misc/swarp/ChangeLog
+++ b/x11-misc/swarp/ChangeLog
@@ -1,7 +1,11 @@
# ChangeLog for x11-misc/swarp
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 15 Jan 2010; Michał Górny (sedzimir) <gentoo@mgorny.alt.pl>
+ swarp-0.1.ebuild:
+ General polishing and SRC_URI update.
+
18 Nov 2009; Justin Lecher (jlec) <jlec@j-schmitz.net> swarp-0.1.ebuild,
swarp-9999.ebuild:
HOMEPAGE fixed
diff --git a/x11-misc/swarp/Manifest b/x11-misc/swarp/Manifest
index f8cd9921d..0719f2569 100644
--- a/x11-misc/swarp/Manifest
+++ b/x11-misc/swarp/Manifest
@@ -1,5 +1,5 @@
DIST swarp-0.1.tar.gz 2277 RMD160 6a1308a01ad633d290add947cc02bccc95644c25 SHA1 0d602b971f3d9fe0197143a9106a5c2e5044fd01 SHA256 ef5730fe8ee00879cbec1e91e22a7f0f7817a63375d790d775f5b7427886d45f
-EBUILD swarp-0.1.ebuild 764 RMD160 6c57e04125ee51b478185420c81733f5626044a0 SHA1 b00f2177fa6f2fa0aa9a032269100ae762adacbc SHA256 bb4b92671199c8ddb7bd83e266cdca61fe9b2f4932655542baae02e8b48ef0dc
+EBUILD swarp-0.1.ebuild 802 RMD160 f865b64c54632588da5ba7d9003a6f056765c5b6 SHA1 0800d81b84449fda6c0e63c44cf1e7c1a704cbc5 SHA256 cf5f0878afb2b55328bf4c6084911eb49b64a4a96b86ca8d98f16547d39f2165
EBUILD swarp-9999.ebuild 823 RMD160 9162f12645da17baa17a0851e7e58a089ba381be SHA1 d5ba0563341205c5c2bd9c74ce8a140e1ac3fa41 SHA256 11f485596129865e0696ad85ac188b157911602cf7e6cf6f8fdffdfd7e6e748a
-MISC ChangeLog 647 RMD160 4866c903177ab9a2987cd4863e7b62fd219adb39 SHA1 e1fd0cdce2cb08c46b16df93cf55b018fa2d5dc9 SHA256 7b4f8b43ad52e6407f73b1366963b52201f6e043f651efa9f296b18d9342e157
+MISC ChangeLog 772 RMD160 1a5598f9621064f5b3ed95e9174f72c8632a8aea SHA1 30748a94ed8a9b26e3c9726185ee9ca20027f237 SHA256 ff8e9c3b82c7ec7b78007f3c8b419f10e8e37f4ea548a4c49d17c10c1b70501b
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
diff --git a/x11-misc/swarp/swarp-0.1.ebuild b/x11-misc/swarp/swarp-0.1.ebuild
index d973d2d52..695ef6f97 100644
--- a/x11-misc/swarp/swarp-0.1.ebuild
+++ b/x11-misc/swarp/swarp-0.1.ebuild
@@ -1,12 +1,12 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit toolchain-funcs
-DESCRIPTION="simple pointer warp"
+DESCRIPTION="Simple mouse pointer warp"
HOMEPAGE="http://tools.suckless.org/swarp"
-SRC_URI="http://suckless.org/download/${P}.tar.gz"
+SRC_URI="http://dl.suckless.org/tools/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
@@ -21,21 +21,23 @@ src_unpack() {
cd "${S}"
sed -i \
- -e "s/.*strip.*//" \
+ -e "/strip/d" \
Makefile || die "sed failed"
sed -i \
- -e "s/CFLAGS = -Os/CFLAGS +=/" \
- -e "s/LDFLAGS =/LDFLAGS +=/" \
+ -e "s/^CFLAGS = -Os/CFLAGS +=/" \
+ -e "s/^LDFLAGS =/LDFLAGS +=/" \
+ -e "/^CC/d" \
config.mk || die "sed failed"
}
src_compile() {
- emake CC=$(tc-getCC) || die "emake failed"
+ tc-export CC
+ emake || die "emake failed"
}
src_install() {
- emake DESTDIR="${D}" PREFIX="/usr" install || die "emake install failed"
+ emake DESTDIR="${D}" PREFIX=/usr install || die "emake install failed"
- dodoc README
+ dodoc README || die "dodoc failed"
}