diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-03-29 00:53:13 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-03-29 00:53:13 +0000 |
commit | 98776b605bd7fb23af18a529ae9e1c5c9d5608bf (patch) | |
tree | 3be35b9fca30eae10edc3c3da264796603cfde79 /dev-util | |
parent | removing unneccessary comments. (diff) | |
download | historical-98776b605bd7fb23af18a529ae9e1c5c9d5608bf.tar.gz historical-98776b605bd7fb23af18a529ae9e1c5c9d5608bf.tar.bz2 historical-98776b605bd7fb23af18a529ae9e1c5c9d5608bf.zip |
old
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/darcs/darcs-0.9.14.ebuild | 47 | ||||
-rw-r--r-- | dev-util/darcs/darcs-0.9.15.ebuild | 47 | ||||
-rw-r--r-- | dev-util/darcs/darcs-0.9.16.ebuild | 47 | ||||
-rw-r--r-- | dev-util/darcs/files/digest-darcs-0.9.14 | 1 | ||||
-rw-r--r-- | dev-util/darcs/files/digest-darcs-0.9.15 | 1 | ||||
-rw-r--r-- | dev-util/darcs/files/digest-darcs-0.9.16 | 1 | ||||
-rw-r--r-- | dev-util/gambas/files/Makefile.am-0.82 | 35 | ||||
-rw-r--r-- | dev-util/gambas/files/digest-gambas-0.72 | 1 | ||||
-rw-r--r-- | dev-util/gambas/files/digest-gambas-0.82 | 1 | ||||
-rw-r--r-- | dev-util/gambas/files/digest-gambas-0.90 | 1 | ||||
-rw-r--r-- | dev-util/gambas/files/digest-gambas-0.90-r1 | 1 | ||||
-rw-r--r-- | dev-util/gambas/files/non-symlink-0.72.patch | 68 | ||||
-rw-r--r-- | dev-util/gambas/files/non-symlink-0.82.patch | 64 | ||||
-rw-r--r-- | dev-util/gambas/gambas-0.72.ebuild | 50 | ||||
-rw-r--r-- | dev-util/gambas/gambas-0.82.ebuild | 70 | ||||
-rw-r--r-- | dev-util/gambas/gambas-0.90-r1.ebuild | 76 | ||||
-rw-r--r-- | dev-util/gambas/gambas-0.90.ebuild | 75 | ||||
-rw-r--r-- | dev-util/gambas/gambas-0.91.ebuild | 10 |
18 files changed, 6 insertions, 590 deletions
diff --git a/dev-util/darcs/darcs-0.9.14.ebuild b/dev-util/darcs/darcs-0.9.14.ebuild deleted file mode 100644 index 1858b930b903..000000000000 --- a/dev-util/darcs/darcs-0.9.14.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2004 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/darcs/darcs-0.9.14.ebuild,v 1.2 2004/02/24 23:03:23 mr_bones_ Exp $ - -DESCRIPTION="David's Advanced Revision Control System is yet another replacement for CVS" -HOMEPAGE="http://abridgegame.org/darcs" -SRC_URI="http://abridgegame.org/darcs/${P}.tar.gz" -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~x86" -IUSE="doc" - -DEPEND=">=net-ftp/curl-7.10.2 - >=virtual/ghc-5.04 - doc? ( virtual/tetex - dev-tex/latex2html )" - -RDEPEND=">=net-ftp/curl-7.10.2" - -S=${WORKDIR}/${P} - -src_compile() { - if [ `use doc` ]; then - mv GNUmakefile GNUmakefile.orig - cat GNUmakefile.orig \ - | sed "s:/doc:/doc/${PF}:" \ - > GNUmakefile - else - mv configure configure.orig - cat configure.orig \ - | sed 's: installdocs::' \ - | sed 's:^.*BUILDDOC.*yes.*$::' \ - | sed 's/^.*TARGETS.*\(darcs\.ps\|manual\).*$/:/' \ - > configure - fi - sh ./configure \ - --prefix=/usr \ - --datadir=/usr/share \ - --sysconfdir=/etc \ - --mandir=/usr/share/man || die - echo 'INSTALLWHAT=installbin' >> autoconf.mk - make all || die -} - -src_install() { - make DESTDIR=${D} install || die -} diff --git a/dev-util/darcs/darcs-0.9.15.ebuild b/dev-util/darcs/darcs-0.9.15.ebuild deleted file mode 100644 index 6d0e06631f1b..000000000000 --- a/dev-util/darcs/darcs-0.9.15.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2004 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/darcs/darcs-0.9.15.ebuild,v 1.2 2004/02/24 23:03:23 mr_bones_ Exp $ - -DESCRIPTION="David's Advanced Revision Control System is yet another replacement for CVS" -HOMEPAGE="http://abridgegame.org/darcs" -SRC_URI="http://abridgegame.org/darcs/${P}.tar.gz" -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~x86" -IUSE="doc" - -DEPEND=">=net-ftp/curl-7.10.2 - >=virtual/ghc-5.04 - doc? ( virtual/tetex - dev-tex/latex2html )" - -RDEPEND=">=net-ftp/curl-7.10.2" - -S=${WORKDIR}/${P} - -src_compile() { - if [ `use doc` ]; then - mv GNUmakefile GNUmakefile.orig - cat GNUmakefile.orig \ - | sed "s:/doc:/doc/${PF}:" \ - > GNUmakefile - else - mv configure configure.orig - cat configure.orig \ - | sed 's: installdocs::' \ - | sed 's:^.*BUILDDOC.*yes.*$::' \ - | sed 's/^.*TARGETS.*\(darcs\.ps\|manual\).*$/:/' \ - > configure - fi - sh ./configure \ - --prefix=/usr \ - --datadir=/usr/share \ - --sysconfdir=/etc \ - --mandir=/usr/share/man || die - echo 'INSTALLWHAT=installbin' >> autoconf.mk - make all || die -} - -src_install() { - make DESTDIR=${D} install || die -} diff --git a/dev-util/darcs/darcs-0.9.16.ebuild b/dev-util/darcs/darcs-0.9.16.ebuild deleted file mode 100644 index 74db8f4955e5..000000000000 --- a/dev-util/darcs/darcs-0.9.16.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2004 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/darcs/darcs-0.9.16.ebuild,v 1.1 2004/02/18 13:42:56 kosmikus Exp $ - -DESCRIPTION="David's Advanced Revision Control System is yet another replacement for CVS" -HOMEPAGE="http://abridgegame.org/darcs" -SRC_URI="http://abridgegame.org/darcs/${P}.tar.gz" -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~x86" -IUSE="doc" - -DEPEND=">=net-ftp/curl-7.10.2 - >=virtual/ghc-6.0 - doc? ( virtual/tetex - dev-tex/latex2html )" - -RDEPEND=">=net-ftp/curl-7.10.2" - -S=${WORKDIR}/${P} - -src_compile() { - if [ `use doc` ]; then - mv GNUmakefile GNUmakefile.orig - cat GNUmakefile.orig \ - | sed "s:/doc:/doc/${PF}:" \ - > GNUmakefile - else - mv configure configure.orig - cat configure.orig \ - | sed 's: installdocs::' \ - | sed 's:^.*BUILDDOC.*yes.*$::' \ - | sed 's/^.*TARGETS.*\(darcs\.ps\|manual\).*$/:/' \ - > configure - fi - sh ./configure \ - --prefix=/usr \ - --datadir=/usr/share \ - --sysconfdir=/etc \ - --mandir=/usr/share/man || die - echo 'INSTALLWHAT=installbin' >> autoconf.mk - make all || die -} - -src_install() { - make DESTDIR=${D} install || die -} diff --git a/dev-util/darcs/files/digest-darcs-0.9.14 b/dev-util/darcs/files/digest-darcs-0.9.14 deleted file mode 100644 index a716586cf2bb..000000000000 --- a/dev-util/darcs/files/digest-darcs-0.9.14 +++ /dev/null @@ -1 +0,0 @@ -MD5 ce6dc28685414f5023f9f5b56584fa8c darcs-0.9.14.tar.gz 366962 diff --git a/dev-util/darcs/files/digest-darcs-0.9.15 b/dev-util/darcs/files/digest-darcs-0.9.15 deleted file mode 100644 index b7336e3ba1d0..000000000000 --- a/dev-util/darcs/files/digest-darcs-0.9.15 +++ /dev/null @@ -1 +0,0 @@ -MD5 baf34dc8f29557a6b3f1090891d9bbb2 darcs-0.9.15.tar.gz 392218 diff --git a/dev-util/darcs/files/digest-darcs-0.9.16 b/dev-util/darcs/files/digest-darcs-0.9.16 deleted file mode 100644 index e602b3f690d9..000000000000 --- a/dev-util/darcs/files/digest-darcs-0.9.16 +++ /dev/null @@ -1 +0,0 @@ -MD5 0d2e80799db06dd0b37936accd5d440a darcs-0.9.16.tar.gz 401996 diff --git a/dev-util/gambas/files/Makefile.am-0.82 b/dev-util/gambas/files/Makefile.am-0.82 deleted file mode 100644 index d1a1b53d2097..000000000000 --- a/dev-util/gambas/files/Makefile.am-0.82 +++ /dev/null @@ -1,35 +0,0 @@ -SUBDIRS = libltdl src -EXTRA_DIST = TODO reconf app examples help README.REDHAT -##AUTOMAKE_OPTIONS = dist-bzip2 - -install-exec-local: - @echo - @echo "Installing the development environment..." - @(cd $(srcdir)/app; d=`pwd`; for p in *; do echo "Compiling $$p..."; cd $$d/$$p; \ - gbc -ag; gba; rm -rf .gambas; $(INSTALL) $$p $(bindir); done) - - @echo - @echo "Creating the library info files..." - @$(INSTALL) -d $(libdir)/info - @$(bindir)/gbi -a - @rm -f $(libdir)/lib.gb.la - @rm -f $(libdir)/lib.gb.so* - - @echo - @echo "Installing the gambas help files..." - @$(INSTALL) -d $(datadir)/help - @rm -rf $(datadir)/help - @cp -R $(srcdir)/help $(datadir) - - @echo - @echo "Installing the gambas examples..." - @rm -rf $(datadir)/examples - @$(INSTALL) -d $(datadir)/examples - @cp -R $(srcdir)/examples $(datadir) - @(cd $(datadir)/examples; d=`pwd`; for p in *; do echo "Compiling $$p..."; cd $$d/$$p; \ - gbc -ag; gba; done) - -dist-hook: - @(cd $(distdir)/app; for p in *; do rm -rf $$p/.gambas $$p/.xvpics $$p/*/.xvpics $$p/*/*/.xvpics $$p/*~ $$p/.*.out $$p/*.out $$p/.lang/*.pot $$p/$$p; done) - @(cd $(distdir)/examples; for p in *; do rm -rf $$p/.gambas $$p/.xvpics $$p/*/.xvpics $$p/*/*/.xvpics $$p/*~ $$p/.*.out $$p/*.out $$p/.lang/*.pot $$p/$$p; done) - diff --git a/dev-util/gambas/files/digest-gambas-0.72 b/dev-util/gambas/files/digest-gambas-0.72 deleted file mode 100644 index 1c47482e5d8c..000000000000 --- a/dev-util/gambas/files/digest-gambas-0.72 +++ /dev/null @@ -1 +0,0 @@ -MD5 e8a96079f749ec6d191715fa9d464698 gambas-0.72.tar.bz2 2422291 diff --git a/dev-util/gambas/files/digest-gambas-0.82 b/dev-util/gambas/files/digest-gambas-0.82 deleted file mode 100644 index 5be0d65da2ca..000000000000 --- a/dev-util/gambas/files/digest-gambas-0.82 +++ /dev/null @@ -1 +0,0 @@ -MD5 c3afb5b9b94c25f272070bf910633655 gambas-0.82.tar.bz2 2606284 diff --git a/dev-util/gambas/files/digest-gambas-0.90 b/dev-util/gambas/files/digest-gambas-0.90 deleted file mode 100644 index 4471e2fc406c..000000000000 --- a/dev-util/gambas/files/digest-gambas-0.90 +++ /dev/null @@ -1 +0,0 @@ -MD5 1f3211e2c97a354205123a71441e6ced gambas-0.90.tar.bz2 2646331 diff --git a/dev-util/gambas/files/digest-gambas-0.90-r1 b/dev-util/gambas/files/digest-gambas-0.90-r1 deleted file mode 100644 index 4471e2fc406c..000000000000 --- a/dev-util/gambas/files/digest-gambas-0.90-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 1f3211e2c97a354205123a71441e6ced gambas-0.90.tar.bz2 2646331 diff --git a/dev-util/gambas/files/non-symlink-0.72.patch b/dev-util/gambas/files/non-symlink-0.72.patch deleted file mode 100644 index 4030c3d4a621..000000000000 --- a/dev-util/gambas/files/non-symlink-0.72.patch +++ /dev/null @@ -1,68 +0,0 @@ ---- src/comp/gbi.c.org 2003-10-27 21:51:41.000000000 +0100 -+++ src/comp/gbi.c 2003-11-17 23:41:29.000000000 +0100 -@@ -54,6 +54,34 @@ - #include "str.h" - #include "gambas.h" - -+/* needed to install in a different location than /usr */ -+char *which(const char *app) -+{ -+ char *path = NULL; -+ char *p = NULL; -+ char *rValue = NULL; -+ -+ path = getenv("PATH"); -+ if (!path) { -+ path = "/usr/bin/"; -+ } -+ p = strtok(strdup(path), ":"); -+ while (p) { -+ rValue = (char *)calloc(sizeof(char), strlen(p)+strlen(app)+2); -+ strcat(rValue, p); -+ rValue[strlen(p)] = '/'; -+ strcat(rValue, app); -+ rValue[strlen(p)+1+strlen(app)] = '\0'; -+ if (access(rValue, X_OK) == 0) { -+ return rValue; -+ } -+ p = strtok(NULL, ":"); -+ free(rValue); -+ rValue = NULL; -+ } -+ return NULL; -+} -+ - - PRIVATE char _lib_path[MAX_PATH + 1]; - PRIVATE FILE *out; -@@ -102,10 +129,10 @@ - - /* chemin d'installation de Gambas */ - -- path = FILE_readlink("/usr/bin/gbx"); -+ path = which("gbx"); - - if (path == NULL) -- error("Cannot read symbolic link /usr/bin/gbx"); -+ error("Cannot find gbx"); - - strcpy(_lib_path, FILE_cat(FILE_get_dir(FILE_get_dir(path)), "lib", NULL)); - -@@ -422,7 +450,7 @@ - if (strcmp(name, "gb") == 0) - { - sprintf(path, LIB_PATTERN, _lib_path, name); -- dlib = dlopen("/usr/bin/gbx", RTLD_NOW); -+ dlib = dlopen(which("gbx"), RTLD_NOW); - if (!dlib) - error2("Cannot open component:", dlerror()); - -@@ -472,7 +500,7 @@ - sprintf(buf, "LD_PRELOAD=%s", lib); - putenv(buf); - putenv("GAMBAS_PRELOAD=1"); -- execv("/usr/bin/gbi", argv); -+ execvp("gbi", argv); - #endif - } - diff --git a/dev-util/gambas/files/non-symlink-0.82.patch b/dev-util/gambas/files/non-symlink-0.82.patch deleted file mode 100644 index d36d2a5607c9..000000000000 --- a/dev-util/gambas/files/non-symlink-0.82.patch +++ /dev/null @@ -1,64 +0,0 @@ ---- src/comp/gbi.c.org 2003-10-27 21:51:41.000000000 +0100 -+++ src/comp/gbi.c 2003-11-17 23:41:29.000000000 +0100 -@@ -54,6 +54,34 @@ - #include "str.h" - #include "gambas.h" - -+/* needed to install in a different location than /usr */ -+char *which(const char *app) -+{ -+ char *path = NULL; -+ char *p = NULL; -+ char *rValue = NULL; -+ -+ path = getenv("PATH"); -+ if (!path) { -+ path = "/usr/bin/"; -+ } -+ p = strtok(strdup(path), ":"); -+ while (p) { -+ rValue = (char *)calloc(sizeof(char), strlen(p)+strlen(app)+2); -+ strcat(rValue, p); -+ rValue[strlen(p)] = '/'; -+ strcat(rValue, app); -+ rValue[strlen(p)+1+strlen(app)] = '\0'; -+ if (access(rValue, X_OK) == 0) { -+ return rValue; -+ } -+ p = strtok(NULL, ":"); -+ free(rValue); -+ rValue = NULL; -+ } -+ return NULL; -+} -+ - - PRIVATE char _lib_path[MAX_PATH + 1]; - PRIVATE FILE *out; -@@ -102,7 +129,7 @@ - - /* chemin d'installation de Gambas */ - -- path = FILE_readlink(GAMBAS_LINK_PATH); -+ path = which("gbx"); - if (!path) - { - path = GAMBAS_LINK_PATH; -@@ -422,7 +450,7 @@ - if (strcmp(name, "gb") == 0) - { - sprintf(path, LIB_PATTERN, _lib_path, name); -- dlib = dlopen("/usr/bin/gbx", RTLD_NOW); -+ dlib = dlopen(which("gbx"), RTLD_NOW); - if (!dlib) - error2("Cannot open component:", dlerror()); - -@@ -472,7 +500,7 @@ - sprintf(buf, "LD_PRELOAD=%s", lib); - putenv(buf); - putenv("GAMBAS_PRELOAD=1"); -- execv("/usr/bin/gbi", argv); -+ execvp("gbi", argv); - #endif - } - diff --git a/dev-util/gambas/gambas-0.72.ebuild b/dev-util/gambas/gambas-0.72.ebuild deleted file mode 100644 index 0747b220adb5..000000000000 --- a/dev-util/gambas/gambas-0.72.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2004 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/gambas/gambas-0.72.ebuild,v 1.2 2004/02/05 04:09:02 genone Exp $ - - -DESCRIPTION="a RAD tool for BASIC" -HOMEPAGE="http://gambas.sourceforge.net" -SRC_URI="http://gambas.sourceforge.net/${P}.tar.bz2" -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~x86" -IUSE="kde postgres mysql sdl" -DEPEND=">=x11-base/xfree-4.3.0 - >=x11-libs/qt-3.1 - kde? ( >=kde-base/kdelibs-3.1 ) - sdl? ( media-libs/libsdl ) - mysql? ( dev-db/mysql ) - postgres? ( dev-db/postgresql )" - -src_unpack() { - unpack ${A} - cd "${S}" - sed -i "s:@ln.*::" Makefile* - sed -i "s:@rm -f /usr/.*::" Makefile* - epatch ${FILESDIR}/non-symlink-${PV}.patch -} - -src_compile() { - local myconf - - myconf="${myconf} `use_with kde kde-includes ${KDEDIR}/include`" - myconf="${myconf} `use_with mysql mysql-includes /usr/include/mysql`" - myconf="${myconf} `use_with postgres postgresql-includes /usr/include/postgresql/server`" - myconf="${myconf} `use_with sdl sdl-includes /usr/include/SDL`" - - econf ${myconf} || die - - use kde || sed -i "s:#define HAVE_KDE_COMPONENT 1:#undef HAVE_KDE_COMPONENT:" config.h - use mysql || sed -i "s:#define HAVE_MYSQL_COMPONENT 1:#undef HAVE_MYSQL_COMPONENT:" config.h - use postgres || sed -i "s:#define HAVE_PGSQL_COMPONENT 1:#undef HAVE_PGSQL_COMPONENT:" config.h - use sdl || sed -i "s:#define HAVE_SDL_COMPONENT 1:#undef HAVE_SDL_COMPONENT:" config.h - - emake || die -} - -src_install() { - export PATH="${PATH}:${D}/usr/bin" - einstall || die -} - diff --git a/dev-util/gambas/gambas-0.82.ebuild b/dev-util/gambas/gambas-0.82.ebuild deleted file mode 100644 index 1b6881588761..000000000000 --- a/dev-util/gambas/gambas-0.82.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 1999-2004 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/gambas/gambas-0.82.ebuild,v 1.1 2004/02/05 04:09:02 genone Exp $ - - -DESCRIPTION="a RAD tool for BASIC" -HOMEPAGE="http://gambas.sourceforge.net" -SRC_URI="http://gambas.sourceforge.net/${P}.tar.bz2" -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~x86" -IUSE="kde postgres mysql sdl" -DEPEND=">=sys-devel/automake-1.7.5 - >=sys-devel/autoconf-2.57 - >=x11-base/xfree-4.3.0 - >=x11-libs/qt-3.1 - kde? ( >=kde-base/kdelibs-3.1 ) - sdl? ( media-libs/libsdl ) - mysql? ( dev-db/mysql ) - postgres? ( dev-db/postgresql )" - -src_unpack() { - unpack ${A} - cd "${S}" - rm Makefile* - cp "${FILESDIR}/Makefile.am-${PV}" ./Makefile.am - automake - autoconf - epatch ${FILESDIR}/non-symlink-${PV}.patch -} - -src_compile() { - local myconf - - myconf="${myconf} `use_with kde kde-includes ${KDEDIR}/include`" - myconf="${myconf} `use_with mysql mysql-includes /usr/include/mysql`" - myconf="${myconf} `use_with postgres postgresql-includes /usr/include/postgresql/server`" - myconf="${myconf} `use_with sdl sdl-includes /usr/include/SDL`" - - econf ${myconf} --enable-optimization || die - - use kde || sed -i "s:#define HAVE_KDE_COMPONENT 1:#undef HAVE_KDE_COMPONENT:" config.h - use mysql || sed -i "s:#define HAVE_MYSQL_COMPONENT 1:#undef HAVE_MYSQL_COMPONENT:" config.h - use postgres || sed -i "s:#define HAVE_PGSQL_COMPONENT 1:#undef HAVE_PGSQL_COMPONENT:" config.h - use sdl || sed -i "s:#define HAVE_SDL_COMPONENT 1:#undef HAVE_SDL_COMPONENT:" config.h - - emake || die -} - -src_install() { - export PATH="${D}/usr/bin:${PATH}" - einstall || die - - dodoc README INSTALL AUTHORS ChangeLog COPYING TODO - - # only install the API docs and examples with USE=doc - if use doc; then - mv ${D}/usr/share/help ${D}/usr/share/doc/${PF}/html - mv ${D}/usr/share/examples ${D}/usr/share/doc/${PF}/examples - einfo "Compiling examples ..." - cd ${D}/usr/share/doc/${PF}/examples - for p in *; do - cd $p - gbc -ag - gba - cd .. - done - fi - rm -rf ${D}/usr/share/help ${D}/usr/share/examples -} diff --git a/dev-util/gambas/gambas-0.90-r1.ebuild b/dev-util/gambas/gambas-0.90-r1.ebuild deleted file mode 100644 index 0f3a77b067d9..000000000000 --- a/dev-util/gambas/gambas-0.90-r1.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2004 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/gambas/gambas-0.90-r1.ebuild,v 1.2 2004/03/08 21:18:33 genone Exp $ - -inherit eutils - -DESCRIPTION="a RAD tool for BASIC" -HOMEPAGE="http://gambas.sourceforge.net" -SRC_URI="http://gambas.sourceforge.net/${P}.tar.bz2" -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~x86" -IUSE="postgres mysql sdl doc curl debug" -DEPEND=">=sys-devel/automake-1.7.5 - >=x11-base/xfree-4.3.0 - >=x11-libs/qt-3.2 - >=kde-base/kdelibs-3.2 - sdl? ( media-libs/libsdl ) - mysql? ( dev-db/mysql ) - postgres? ( dev-db/postgresql ) - curl? ( net-ftp/curl )" - -src_unpack() { - unpack ${A} - cd "${S}" - sed -i 's:-Os::' configure - # replace braindead Makefile - rm Makefile* - cp "${FILESDIR}/Makefile.am-${PV}" ./Makefile.am - automake - # patches against hardcoded paths - epatch ${FILESDIR}/non-symlink-${PV}.patch - epatch ${FILESDIR}/info-location-${PV}.patch -} - -src_compile() { - local myconf - - myconf="${myconf} --enable-kde --enable-qt" - myconf="${myconf} `use_enable mysql`" - myconf="${myconf} `use_enable postgres`" - myconf="${myconf} `use_enable sdl`" - myconf="${myconf} `use_enable curl`" - - if use debug; then - myconf="${myconf} --disable-optimization --enable-debug" - else - myconf="${myconf} --enable-optimization --disable-debug" - fi - - econf ${myconf} || die - - emake || die -} - -src_install() { - export PATH="${D}/usr/bin:${PATH}" - einstall || die - - dodoc README INSTALL NEWS AUTHORS ChangeLog COPYING TODO - - # only install the API docs and examples with USE=doc - if use doc; then - mv ${D}/usr/share/help ${D}/usr/share/doc/${PF}/html - mv ${D}/usr/share/examples ${D}/usr/share/doc/${PF}/examples - einfo "Compiling examples ..." - cd ${D}/usr/share/doc/${PF}/examples - for p in *; do - cd $p - gbc -ag - gba - cd .. - done - fi - rm -rf ${D}/usr/share/help ${D}/usr/share/examples -} diff --git a/dev-util/gambas/gambas-0.90.ebuild b/dev-util/gambas/gambas-0.90.ebuild deleted file mode 100644 index 2a2417536161..000000000000 --- a/dev-util/gambas/gambas-0.90.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2004 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/gambas/gambas-0.90.ebuild,v 1.3 2004/02/28 03:03:16 genone Exp $ - -inherit eutils - -DESCRIPTION="a RAD tool for BASIC" -HOMEPAGE="http://gambas.sourceforge.net" -SRC_URI="http://gambas.sourceforge.net/${P}.tar.bz2" -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~x86" -IUSE="postgres mysql sdl doc curl debug" -DEPEND=">=sys-devel/automake-1.7.5 - >=x11-base/xfree-4.3.0 - >=x11-libs/qt-3.2 - >=kde-base/kdelibs-3.2 - sdl? ( media-libs/libsdl ) - mysql? ( dev-db/mysql ) - postgres? ( dev-db/postgresql ) - curl? ( net-ftp/curl )" - -src_unpack() { - unpack ${A} - cd "${S}" - sed -i 's:-Os::' configure - # replace braindead Makefile - rm Makefile* - cp "${FILESDIR}/Makefile.am-${PV}" ./Makefile.am - automake - # patch against hardcoded paths - epatch ${FILESDIR}/non-symlink-${PV}.patch -} - -src_compile() { - local myconf - - myconf="${myconf} --enable-kde --enable-qt" - myconf="${myconf} `use_enable mysql`" - myconf="${myconf} `use_enable postgres`" - myconf="${myconf} `use_enable sdl`" - myconf="${myconf} `use_enable curl`" - - if use debug; then - myconf="${myconf} --disable-optimization --enable-debug" - else - myconf="${myconf} --enable-optimization --disable-debug" - fi - - econf ${myconf} || die - - emake || die -} - -src_install() { - export PATH="${D}/usr/bin:${PATH}" - einstall || die - - dodoc README INSTALL NEWS AUTHORS ChangeLog COPYING TODO - - # only install the API docs and examples with USE=doc - if use doc; then - mv ${D}/usr/share/help ${D}/usr/share/doc/${PF}/html - mv ${D}/usr/share/examples ${D}/usr/share/doc/${PF}/examples - einfo "Compiling examples ..." - cd ${D}/usr/share/doc/${PF}/examples - for p in *; do - cd $p - gbc -ag - gba - cd .. - done - fi - rm -rf ${D}/usr/share/help ${D}/usr/share/examples -} diff --git a/dev-util/gambas/gambas-0.91.ebuild b/dev-util/gambas/gambas-0.91.ebuild index ac03332c8680..7dee41768c75 100644 --- a/dev-util/gambas/gambas-0.91.ebuild +++ b/dev-util/gambas/gambas-0.91.ebuild @@ -1,16 +1,18 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/gambas/gambas-0.91.ebuild,v 1.1 2004/03/14 16:11:48 genone Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/gambas/gambas-0.91.ebuild,v 1.2 2004/03/29 00:53:13 vapier Exp $ inherit eutils DESCRIPTION="a RAD tool for BASIC" HOMEPAGE="http://gambas.sourceforge.net" SRC_URI="http://gambas.sourceforge.net/${P}.tar.bz2" + LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="postgres mysql sdl doc curl debug" + DEPEND=">=sys-devel/automake-1.7.5 >=x11-base/xfree-4.3.0 >=x11-libs/qt-3.2 @@ -18,7 +20,7 @@ DEPEND=">=sys-devel/automake-1.7.5 sdl? ( media-libs/libsdl ) mysql? ( dev-db/mysql ) postgres? ( dev-db/postgresql ) - curl? ( net-ftp/curl )" + curl? ( net-misc/curl )" src_unpack() { unpack ${A} @@ -42,7 +44,7 @@ src_compile() { myconf="${myconf} `use_enable sdl`" myconf="${myconf} `use_enable curl`" - if use debug; then + if use debug ; then myconf="${myconf} --disable-optimization --enable-debug" else myconf="${myconf} --enable-optimization --disable-debug" @@ -57,7 +59,7 @@ src_install() { export PATH="${D}/usr/bin:${PATH}" einstall || die - dodoc README INSTALL NEWS AUTHORS ChangeLog COPYING TODO + dodoc README INSTALL NEWS AUTHORS ChangeLog TODO # only install the API docs and examples with USE=doc if use doc; then |