diff options
author | AJ Lewis <roadrunner@gentoo.org> | 2001-04-25 20:40:49 +0000 |
---|---|---|
committer | AJ Lewis <roadrunner@gentoo.org> | 2001-04-25 20:40:49 +0000 |
commit | 7d0d99c7bfcee79e270295d83f1167cca9816f6a (patch) | |
tree | b160488245e5302770246184d44cc10bb3993d23 /app-misc/twin | |
parent | - adding ckermit (diff) | |
download | historical-7d0d99c7bfcee79e270295d83f1167cca9816f6a.tar.gz historical-7d0d99c7bfcee79e270295d83f1167cca9816f6a.tar.bz2 historical-7d0d99c7bfcee79e270295d83f1167cca9816f6a.zip |
o twin 0.2.8! This is kinda of a clunky version, but it is "stable"
Diffstat (limited to 'app-misc/twin')
-rw-r--r-- | app-misc/twin/files/digest-twin-0.2.8 | 1 | ||||
-rw-r--r-- | app-misc/twin/files/twin-0.2.8-gentoo.diff | 24 | ||||
-rw-r--r-- | app-misc/twin/twin-0.2.8.ebuild | 60 |
3 files changed, 85 insertions, 0 deletions
diff --git a/app-misc/twin/files/digest-twin-0.2.8 b/app-misc/twin/files/digest-twin-0.2.8 new file mode 100644 index 000000000000..7369c5dcff7e --- /dev/null +++ b/app-misc/twin/files/digest-twin-0.2.8 @@ -0,0 +1 @@ +MD5 74468e2fe7c363f79af5d7cf7017288a twin-0.2.8.tar.gz diff --git a/app-misc/twin/files/twin-0.2.8-gentoo.diff b/app-misc/twin/files/twin-0.2.8-gentoo.diff new file mode 100644 index 000000000000..47523464e873 --- /dev/null +++ b/app-misc/twin/files/twin-0.2.8-gentoo.diff @@ -0,0 +1,24 @@ +diff -Naur twin-0.2.8.old/Rules twin-0.2.8/Rules +--- twin-0.2.8.old/Rules Tue Apr 24 16:30:44 2001 ++++ twin-0.2.8/Rules Wed Apr 26 05:55:53 2000 +@@ -3,7 +3,7 @@ + # + + # set install directory +-DESTDIR=/usr/local ++DESTDIR=/usr + + # choose your favorite compiler + CC=gcc +diff -Naur twin-0.2.8/server/Makefile twin-0.2.8/server/Makefile +--- twin-0.2.8/server/Makefile Thu Apr 27 11:53:50 2000 ++++ twin-0.2.8/server/Makefile Mon Apr 23 22:51:26 2001 +@@ -99,7 +99,7 @@ + endif + endif + ifeq ($(CONF_HW_X11),y) +- LDFLAGS_twin_real+=-L/usr/X11/lib -lX11 ++ LDFLAGS_twin_real+=-L/usr/X11R6/lib -lX11 + endif + ifeq ($(CONF_HW_GGI),y) + LDFLAGS_twin_real+=-lggi diff --git a/app-misc/twin/twin-0.2.8.ebuild b/app-misc/twin/twin-0.2.8.ebuild new file mode 100644 index 000000000000..4ea52147132a --- /dev/null +++ b/app-misc/twin/twin-0.2.8.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author AJ Lewis <aj@gentoo.org> + +A=${P}.tar.gz +S=${WORKDIR}/${P} +DESCRIPTION="A text-mode window environment" +SRC_URI="http://ftp1.sourceforge.net/twin/${A} + http://linuz.sns.it/~max/twin/${A}" +HOMEPAGE="http://linuz.sns.it/~max/twin/" +DEPEND="virtual/glibc + X? ( >=x11-base/xfree-4.0.1 ) + >=sys-libs/ncurses-5.2" + +src_unpack() { + unpack ${A} + cd ${S} + try patch -p1 < ${FILESDIR}/${PF}-gentoo.diff +} + +src_compile() { + local conf + + conf="\n\n\n\n\n\n\n\n" + if [ "`use X`" ] + then + conf=${conf}"y\n" + else + conf=${conf}"n\n" + fi + conf=${conf}"\n\n\n\n\n" + echo -e ${conf} > .temp + cat .temp | make config + rm .temp + try make clean + try make +} + +src_install() { + + dodir /usr/lib /usr/bin /usr/lib/ /usr/include + + dobin server/twin_real server/twin_wrapper + dobin clients/twsetroot clients/twevent clients/twmapscrn \ + clients/twedit clients/twterm clients/twattach clients/twsysmon + + dolib lib/libTw.so.1.0.0 + + insinto /usr/include + doins include/libTwkeys.h include/libTw.h include/libTwerrno.h + + dosym /usr/bin/twin_wrapper /usr/bin/twin + dosym /usr/bin/twattach /usr/bin/twdetach + dosym /usr/lib/libTw.so.1.0.0 /usr/lib/libTw.so.1 + dosym /usr/lib/libTw.so.1 /usr/lib/libTw.so + + dodoc BUGS COPYING COPYING.LIB INSTALL README TODO Changelog.txt ${P}.lsm + docinto clients + dodoc clients/README.twsetroot clients/twsetroot.sample +} |