diff options
author | 2000-12-11 18:05:42 +0000 | |
---|---|---|
committer | 2000-12-11 18:05:42 +0000 | |
commit | cc34e10aad6ac7542d1c8bb7ab9506f2639d89f9 (patch) | |
tree | a6ed831386d2385c8dacff518df1b6663b2715a0 /x11-libs | |
parent | *** empty log message *** (diff) | |
download | gentoo-2-cc34e10aad6ac7542d1c8bb7ab9506f2639d89f9.tar.gz gentoo-2-cc34e10aad6ac7542d1c8bb7ab9506f2639d89f9.tar.bz2 gentoo-2-cc34e10aad6ac7542d1c8bb7ab9506f2639d89f9.zip |
*** empty log message ***
Diffstat (limited to 'x11-libs')
-rw-r--r-- | x11-libs/fltk/files/digest-fltk-1.0.10 | 1 | ||||
-rw-r--r-- | x11-libs/fltk/fltk-1.0.10.ebuild | 30 | ||||
-rw-r--r-- | x11-libs/qt-x11/files/digest-qt-x11-2.2.2 | 1 | ||||
-rw-r--r-- | x11-libs/qt-x11/qt-x11-2.2.2.ebuild | 75 |
4 files changed, 107 insertions, 0 deletions
diff --git a/x11-libs/fltk/files/digest-fltk-1.0.10 b/x11-libs/fltk/files/digest-fltk-1.0.10 new file mode 100644 index 000000000000..b525bdcfb13f --- /dev/null +++ b/x11-libs/fltk/files/digest-fltk-1.0.10 @@ -0,0 +1 @@ +MD5 e76cc38b6c0bdb046a8ac5cd31a7e65e fltk-1.0.10-source.tar.bz2 diff --git a/x11-libs/fltk/fltk-1.0.10.ebuild b/x11-libs/fltk/fltk-1.0.10.ebuild new file mode 100644 index 000000000000..c5ed1b35c317 --- /dev/null +++ b/x11-libs/fltk/fltk-1.0.10.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Your Name <your email> +# $Header: /var/cvsroot/gentoo-x86/x11-libs/fltk/fltk-1.0.10.ebuild,v 1.1 2000/12/11 18:05:42 achim Exp $ + +S=${WORKDIR}/${P} +DESCRIPTION="C++ user interface toolkit for X and OpenGL." +SRC_URI="ftp://ftp.fltk.org/pub/fltk/${PV}/${P}-source.tar.bz2" +HOMEPAGE="http://www.fltk.org" +DEPEND=">=x11-base/xfree-4.0.1 + >=media-libs/mesa-3.4" + + +src_compile() { + + cd ${S} + try ./configure --prefix=/usr/X11R6 --host=${CHOST} --enable-shared + try make + +} + +src_install () { + + cd ${S} + try make prefix=${D}/usr/X11R6 install + dodoc CHANGES COPYING README* + mv ${D}/usr/X11R6/share/doc/fltk ${D}/usr/doc/${PF}/html + +} + diff --git a/x11-libs/qt-x11/files/digest-qt-x11-2.2.2 b/x11-libs/qt-x11/files/digest-qt-x11-2.2.2 new file mode 100644 index 000000000000..57a2d90993cc --- /dev/null +++ b/x11-libs/qt-x11/files/digest-qt-x11-2.2.2 @@ -0,0 +1 @@ +MD5 682e8f62af48770aea52036eb6329792 qt-x11-2.2.2.tar.gz diff --git a/x11-libs/qt-x11/qt-x11-2.2.2.ebuild b/x11-libs/qt-x11/qt-x11-2.2.2.ebuild new file mode 100644 index 000000000000..6d8a0493df2c --- /dev/null +++ b/x11-libs/qt-x11/qt-x11-2.2.2.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Achim Gottinger <achim@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-x11/qt-x11-2.2.2.ebuild,v 1.1 2000/12/11 18:05:42 achim Exp $ + +A=${P}.tar.gz +S=${WORKDIR}/qt-2.2.2 +DESCRIPTION="QT 2.2" +SRC_PATH="kde/stable/2.0/distribution/tar/generic/src/${A}" +SRC_URI="ftp://ftp.trolltech.com/pub/qt/source/${A}" +HOMEPAGE="http://www.kde.org/" + +DEPEND=">=media-libs/libpng-1.0.7 + >=media-libs/libmng-0.9.3 + >=media-libs/mesa-3.4 + >=media-sound/nas-1.4.1 + >=x11-base/xfree-4.0.1" + +export QTDIR=${S} + +src_unpack() { + unpack ${A} + cd ${S} + cp configure configure.orig + sed -e "s:read acceptance:acceptance=yes:" configure.orig > configure +} + +src_compile() { + cd ${S} + export LDFLAGS="-ldl" + ./configure -sm -thread -system-zlib -system-jpeg -system-nas-sound \ + -system-libmng -system-libpng -gif -platform linux-g++ -ldl -lpthread + cd ${S}/src + cp Makefile Makefile.orig + sed -e "s/-O2/${CFLAGS}/" Makefile.orig > Makefile + cd ${S}/tools + cp Makefile Makefile.orig + sed -e "s/-O2/${CFLAGS}/" Makefile.orig > Makefile + cd ${S}/src/moc + cp Makefile Makefile.orig + sed -e "s/-pipe -O2/${CFLAGS}/" Makefile.orig > Makefile + cd ${S} + try make symlinks src-moc src-mt sub-src sub-tools +} + +src_install() { + + QTBASE=/usr/X11R6/lib + cd ${S} + dodir $QTBASE/${P} + into $QTBASE/${P} + dobin bin/* + dolib.so lib/libqt.so.${PV} + dolib.so lib/libqt-mt.so.${PV} + dolib.so lib/libqutil.so.1.0.0 + preplib $QTBASE/lib/${P} + dosym libqt.so.${PV} $QTBASE/${P}/lib/libqt.so + dosym libqt-mt.so.${PV} $QTBASE/${P}/lib/libqt-mt.so + dosym libqutil.so.1.0.0 $QTBASE/${P}/lib/libqutil.so + cd ${D}${QTBASE} + ln -sf qt-x11-${PV} qt + cd ${S} + dodir ${QTBASE}/${P}/include + cp include/* ${D}${QTBASE}/${P}/include/ + doman doc/man/man3/* + + dodoc ANNOUNCE FAQ LICENSE.QPL MANIFEST PLATFORMS + dodoc PORTING README* + cp -af ${S}/doc/html ${D}/usr/doc/${P} + +} + + + + |