summaryrefslogtreecommitdiff
path: root/x11-wm
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2002-04-14 08:43:10 +0000
committerSeemant Kulleen <seemant@gentoo.org>2002-04-14 08:43:10 +0000
commit167e9f54ba286ea78ad38cbd8cd65a3f43b41192 (patch)
treea6a158242315d7a1141d36baaac2028472911310 /x11-wm
parentclean up (diff)
downloadgentoo-2-167e9f54ba286ea78ad38cbd8cd65a3f43b41192.tar.gz
gentoo-2-167e9f54ba286ea78ad38cbd8cd65a3f43b41192.tar.bz2
gentoo-2-167e9f54ba286ea78ad38cbd8cd65a3f43b41192.zip
clean up
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/asclock/ChangeLog4
-rw-r--r--x11-wm/asclock/asclock-2.0.12.ebuild43
2 files changed, 30 insertions, 17 deletions
diff --git a/x11-wm/asclock/ChangeLog b/x11-wm/asclock/ChangeLog
index 4c63629dedbd..6dadee7167e3 100644
--- a/x11-wm/asclock/ChangeLog
+++ b/x11-wm/asclock/ChangeLog
@@ -1,8 +1,8 @@
# ChangeLog for x11-wm/asclock
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/x11-wm/asclock/ChangeLog,v 1.2 2002/04/14 08:42:34 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/asclock/ChangeLog,v 1.3 2002/04/14 08:43:10 seemant Exp $
-*asclock-2.0.12-r1 (14 Apr 2002)
+*asclock-2.0.12 (14 Apr 2002)
14 Apr 2002; Seemant Kulleen <seemant@gentoo.org> asclock-2.0.12-r1.ebuild :
diff --git a/x11-wm/asclock/asclock-2.0.12.ebuild b/x11-wm/asclock/asclock-2.0.12.ebuild
index 72bb4c6809f5..61443189db59 100644
--- a/x11-wm/asclock/asclock-2.0.12.ebuild
+++ b/x11-wm/asclock/asclock-2.0.12.ebuild
@@ -1,38 +1,51 @@
-# Copyright 1999-2001 Gentoo Technologies, Inc.
+# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Karl Trygve Kalleberg <karltk@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/x11-wm/asclock/asclock-2.0.12.ebuild,v 1.2 2001/12/14 01:38:52 drobbins Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/asclock/asclock-2.0.12.ebuild,v 1.3 2002/04/14 08:43:10 seemant Exp $
S=${WORKDIR}/${P}
DESCRIPTION="Clock applet for AfterStep"
-SRC_URI="http://www.tigr.net/afterstep/download/asclock/asclock-2.0.12.tar.gz"
+SRC_URI="http://www.tigr.net/afterstep/download/asclock/${P}.tar.gz"
HOMEPAGE="http://www.tigr.net/afterstep/list.pl"
+
DEPEND="virtual/glibc virtual/x11"
src_unpack() {
- unpack asclock-2.0.12.tar.gz
+ unpack ${P}.tar.gz
cd ${S}
ln -s themes/classic default_theme
}
src_compile() {
- local x
- cd ${S}
+ local x
for x in asclock parser symbols config
do
- gcc ${CFLAGS} -I/usr/X11R6/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -DFUNCPROTO=15 -DNARROWPROTO -c -o ${x}.o ${x}.c || die
+ gcc \
+ ${CFLAGS} \
+ -I/usr/X11R6/include \
+ -Dlinux -D__i386__ \
+ -D_POSIX_C_SOURCE=199309L \
+ -D_POSIX_SOURCE \
+ -D_XOPEN_SOURCE \
+ -D_BSD_SOURCE \
+ -D_SVID_SOURCE \
+ -DFUNCPROTO=15 \
+ -DNARROWPROTO \
+ -c -o ${x}.o ${x}.c || die
done
- gcc ${CFLAGS} -o asclock -L/usr/X11R6/lib asclock.o parser.o symbols.o config.o -L/usr/lib/X11 -lXpm -lXext -lX11 || die
+ gcc \
+ ${CFLAGS} \
+ -o asclock \
+ asclock.o parser.o symbols.o config.o \
+ -L/usr/X11R6/lib \
+ -L/usr/lib/X11 \
+ -lXpm -lXext -lX11 || die
}
src_install () {
- dobin asclock
- insinto usr/share/asclock
- for i in themes/* ; do
- cp -r $i ${D}/usr/share/asclock/;
- done
+ dobin asclock
+ dodir usr/share/asclock
+ cp -a themes/* ${D}/usr/share/asclock
dodoc COPYING INSTALL README README.THEMES TODO
- cd ${S}
}
-