Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=24c19896a4262c7f83bb77f3817cbb8755b4829d
commit 24c19896a4262c7f83bb77f3817cbb8755b4829d Author: CSÉCSY László <[EMAIL PROTECTED]> Date: Mon Jan 21 21:23:42 2008 +0100 drupal-tinymce-5.x_1.9-1-i686 new package / initial import those Ffoos drive me crazy diff --git a/source/network-extra/drupal-tinymce/FrugalBuild b/source/network-extra/drupal-tinymce/FrugalBuild new file mode 100644 index 0000000..563a94d --- /dev/null +++ b/source/network-extra/drupal-tinymce/FrugalBuild @@ -0,0 +1,36 @@ +# Compiling Time: 0 SBU +# Maintainer: CSÉCSY László <[EMAIL PROTECTED]> + +_F_drupal_module=tinymce +pkgver=5.x_1.9 +pkgrel=1 +pkgdesc="Integrates the TinyMCE WYSIWYG editor into Drupal" +Finclude sourceforge drupal +source=([EMAIL PROTECTED] http://$_F_sourceforge_mirror.dl.sourceforge.net/sourceforge/tinymce/tinymce_2_1_3.tgz\ + http://$_F_sourceforge_mirror.dl.sourceforge.net/sourceforge/tinymce/tinymce_compressor_php_2_0b2.zip\ + http://ftp.frugalware.org/pub/other/sources/tinymce/tmclang-20080121.tar.gz) +# This is to be fetched with: +# curl -d "dlang[]=de&dlang[]=fr&dlang[]=hu&format=gzip" http://tinymce.moxiecode.com/language.php >tmclang-$date.tar.gz +sha1sums=('fdcff0c0763e54d785cacd933a12cd7ef96fc606'\ + 'f85b183ba97aa839f5e48df4ac73ec3cace74474'\ + '8007bd67b63224c169cd717f6668b0f712f87504'\ + '12bdce54c5f90e3c6bcf38253a97e36a5d5aab17') + +build() +{ + Fbuild_drupal + Fmessage "Moving TinyMCE into the correct place of the Drupal module" + Fmkdir var/www/drupal/sites/all/modules/tinymce/tinymce + for i in changelog readme examples jscripts; do + Fmv /var/www/drupal/sites/all/modules/tinymce/$i /var/www/drupal/sites/all/modules/tinymce/tinymce + done + cd $Fdestdir/var/www/drupal/sites/all/modules/tinymce/tinymce/jscripts/tiny_mce || Fdie + Fmessage "Converting Hungarian files into UTF8" + find . -type f -name hu* | while read i; do \ + iconv -f latin2 -t utf8 <$i >$i.tmp; mv $i.tmp $i; \ + done || Fdie + Fmessage "Moving compressor files to the correct place" + for i in js php; do + Ffilerel $Fsrcdir/tinymce_compressor_php/tiny_mce_gzip.$i var/www/drupal/sites/all/modules/tinymce/tinymce/jscripts/tiny_mce/tiny_mce_gzip.$i + done +} _______________________________________________ Frugalware-git mailing list Frugalware-git@frugalware.org http://frugalware.org/mailman/listinfo/frugalware-git