From 293a7477562582f0744c93960652b1607f27145e Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Fri, 9 Jan 2004 09:24:19 +0000 Subject: [PATCH] Alejandro Mery : added clip (1.1.7) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@2144 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- package/mnemoc/clip/clip.conf | 67 +++++++++++++++++++++++++++++ package/mnemoc/clip/clip.desc | 50 +++++++++++++++++++++ package/mnemoc/clip/no_bindir.patch | 37 ++++++++++++++++ package/mnemoc/clip/no_clean.patch | 30 +++++++++++++ 4 files changed, 184 insertions(+) create mode 100644 package/mnemoc/clip/clip.conf create mode 100644 package/mnemoc/clip/clip.desc create mode 100644 package/mnemoc/clip/no_bindir.patch create mode 100644 package/mnemoc/clip/no_clean.patch diff --git a/package/mnemoc/clip/clip.conf b/package/mnemoc/clip/clip.conf new file mode 100644 index 000000000..da7cc4988 --- /dev/null +++ b/package/mnemoc/clip/clip.conf @@ -0,0 +1,67 @@ +# --- ROCK-COPYRIGHT-NOTE-BEGIN --- +# +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# Please add additional copyright information _after_ the line containing +# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by +# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! +# +# ROCK Linux: rock-src/package/mnemoc/clip/clip.conf +# ROCK Linux is Copyright (C) 1998 - 2004 Clifford Wolf +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. A copy of the GNU General Public +# License can be found at Documentation/COPYING. +# +# Many people helped and are helping developing ROCK Linux. Please +# have a look at http://www.rocklinux.org/ and the Documentation/TEAM +# file for details. +# +# --- ROCK-COPYRIGHT-NOTE-END --- + + +if [ $prefix_auto = 1 ] ; then + prefix="opt/clip" + set_confopt +fi + +export CLIPROOT=$root/$prefix +export BINDIR=$CLIPROOT/bin + + +clip_examples() { + cd $builddir/$xsrcdir + + # install examples + mkdir -p $docdir/example/clip/ + cp -dRf example/* $docdir/example/clip/ + + # profile.d + echo "export CLIPROOT=$CLIPROOT" > $root/etc/profile.d/clip +} + +clip_patch() { + # they release a patch.tgz to overwrite files of last release + # for 'updating' to last stable build. + + if grep -q -e "^\[D\] .* patch-$ver.tgz" $confdir/clip.desc; then + echo "Patching CLIP to $ver." + pushd .. + ln -sv ${xsrcdir##*/} clip-prg + tar -v $taropt $archdir/patch-$ver.tbz2 + popd + fi +} + +# first make for clip +hook_add preconf 9 'cd clip' +makeopt="install" + +# and the second for cliplibs :) +hook_add inmake 5 'cd ../cliplibs' +makeinstopt="$makeopt" + +hook_add prepatch 5 'clip_patch' +hook_add postdoc 5 'clip_examples' + diff --git a/package/mnemoc/clip/clip.desc b/package/mnemoc/clip/clip.desc new file mode 100644 index 000000000..ffbc76f7d --- /dev/null +++ b/package/mnemoc/clip/clip.desc @@ -0,0 +1,50 @@ + +[COPY] --- ROCK-COPYRIGHT-NOTE-BEGIN --- +[COPY] +[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. +[COPY] Please add additional copyright information _after_ the line containing +[COPY] the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by +[COPY] the ./scripts/Create-CopyPatch script. Do not edit this copyright text! +[COPY] +[COPY] ROCK Linux: rock-src/package/mnemoc/clip/clip.desc +[COPY] ROCK Linux is Copyright (C) 1998 - 2004 Clifford Wolf +[COPY] +[COPY] This program is free software; you can redistribute it and/or modify +[COPY] it under the terms of the GNU General Public License as published by +[COPY] the Free Software Foundation; either version 2 of the License, or +[COPY] (at your option) any later version. A copy of the GNU General Public +[COPY] License can be found at Documentation/COPYING. +[COPY] +[COPY] Many people helped and are helping developing ROCK Linux. Please +[COPY] have a look at http://www.rocklinux.org/ and the Documentation/TEAM +[COPY] file for details. +[COPY] +[COPY] --- ROCK-COPYRIGHT-NOTE-END --- + +[I] A Clipper/XBase compatible compiler + +[T] CLIP is a Clipper/XBase compatible compiler with initial support for +[T] FoxPro, Flagship, and CAVO syntax. It features support for international +[T] languages and character sets, and i18n based on gettext utils. It also +[T] features OOP, a multiplatform GUI based on GTK/GTKextra, all SIX/Comix +[T] features (including hypertext indexing), SQL and ODBC drivers, a C-API +[T] for third-party developers, a few wrappers for popular libraries (such +[T] as BZIP, GZIP, GD, Crypto, and Fcgi), a multitasking client and server +[T] based on TCP/IP sockets, object data base utils and functions library, +[T] and more. + +[U] http://www.itk.ru/english/index.shtml + +[A] Uri Khnykin +[M] Alejandro Mery + +[C] extra/development + +[L] GPL +[S] Stable +[V] 1.1.7-1 +[P] X -----5---9 800.000 + +[D] 923907069 clip-prg-1.1.7-1.tgz ftp://ftp.itk.ru/pub/clip/ +#[D] 1511789814 patch-1.1.6-3.tgz !ftp://ftp.itk.ru/pub/clip/patch.tgz + diff --git a/package/mnemoc/clip/no_bindir.patch b/package/mnemoc/clip/no_bindir.patch new file mode 100644 index 000000000..696c72eb0 --- /dev/null +++ b/package/mnemoc/clip/no_bindir.patch @@ -0,0 +1,37 @@ +# --- ROCK-COPYRIGHT-NOTE-BEGIN --- +# +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# Please add additional copyright information _after_ the line containing +# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by +# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! +# +# ROCK Linux: rock-src/package/mnemoc/clip/no_bindir.patch +# ROCK Linux is Copyright (C) 1998 - 2004 Clifford Wolf +# +# This patch file is dual-licensed. It is available under the license the +# patched project is licensed under, as long as it is an OpenSource license +# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms +# of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or (at your option) any later +# version. +# +# --- ROCK-COPYRIGHT-NOTE-END --- + +--- ./clip/Makefile.in.orig 2004-01-08 11:50:21.000000000 -0300 ++++ ./clip/Makefile.in 2004-01-08 15:56:07.000000000 -0300 +@@ -329,6 +329,7 @@ + cp hashextract$(EXESUFF) $(DESTDIR)$(CLIPROOT)/bin/clip_hashextract$(EXESUFF) + cd $(DESTDIR)$(CLIPROOT)/bin && chmod 0755 $(BINS) $(SCRIPTS) clip_bug cliphash$(EXESUFF) + if [ "$(OSNAME)" = CYGWIN ] ; then echo "bash lowname %1 %2 %3 %4 %5 %6 %7 %8 %9" > $(DESTDIR)$(CLIPROOT)/bin/lowname.bat ; fi ++ifneq ($(BINDIR),$(CLIPROOT)/bin) + -cd $(DESTDIR)$(BINDIR)/ && rm -f clip$(EXESUFF) clip_msgfmt \ + clip_msgmerge clip_makeslib clip_cp clip_makelib \ + clipar$(EXESUFF) cliphash$(EXESUFF) clip_bug$(EXESUFF) \ +@@ -359,6 +360,7 @@ + ln -sf $(CLIPROOT)/bin/clip_trans$(EXESUFF) $(DESTDIR)$(BINDIR)/ + ln -sf $(CLIPROOT)/bin/clip_conv$(EXESUFF) $(DESTDIR)$(BINDIR)/ + ln -sf $(CLIPROOT)/bin/clip_hashextract$(EXESUFF) $(DESTDIR)$(BINDIR)/ ++endif + touch $(DESTDIR)$(CLIPROOT)/cliprc/.notrm + + inst_locale: diff --git a/package/mnemoc/clip/no_clean.patch b/package/mnemoc/clip/no_clean.patch new file mode 100644 index 000000000..0a0308815 --- /dev/null +++ b/package/mnemoc/clip/no_clean.patch @@ -0,0 +1,30 @@ +# --- ROCK-COPYRIGHT-NOTE-BEGIN --- +# +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# Please add additional copyright information _after_ the line containing +# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by +# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! +# +# ROCK Linux: rock-src/package/mnemoc/clip/no_clean.patch +# ROCK Linux is Copyright (C) 1998 - 2004 Clifford Wolf +# +# This patch file is dual-licensed. It is available under the license the +# patched project is licensed under, as long as it is an OpenSource license +# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms +# of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or (at your option) any later +# version. +# +# --- ROCK-COPYRIGHT-NOTE-END --- + +--- ./cliplibs/Makefile.orig 2004-01-08 19:01:54.000000000 -0300 ++++ ./cliplibs/Makefile 2004-01-08 19:22:08.000000000 -0300 +@@ -5,7 +5,7 @@ + clip-mysql clip-postgres clip-oracle clip-interbase clip-odbc \ + clip-com clip-oasis clip-rtf \ + +-all local user system install lib: clean ++all local user system install lib: + for dir in $(dirs); \ + do \ + (cd $$dir ;\