[arch-commits] Commit in hspell/repos (8 files)
Allan McRae
allan at archlinux.org
Sat Feb 25 10:23:43 UTC 2012
Date: Saturday, February 25, 2012 @ 05:23:43
Author: allan
Revision: 151262
archrelease: copy trunk to extra-i686, extra-x86_64
Added:
hspell/repos/extra-i686/PKGBUILD
(from rev 151261, hspell/trunk/PKGBUILD)
hspell/repos/extra-i686/hspell-1.0.sharedlib.patch
(from rev 151261, hspell/trunk/hspell-1.0.sharedlib.patch)
hspell/repos/extra-x86_64/PKGBUILD
(from rev 151261, hspell/trunk/PKGBUILD)
hspell/repos/extra-x86_64/hspell-1.0.sharedlib.patch
(from rev 151261, hspell/trunk/hspell-1.0.sharedlib.patch)
Deleted:
hspell/repos/extra-i686/PKGBUILD
hspell/repos/extra-i686/hspell-1.0.sharedlib.patch
hspell/repos/extra-x86_64/PKGBUILD
hspell/repos/extra-x86_64/hspell-1.0.sharedlib.patch
-----------------------------------------+
extra-i686/PKGBUILD | 114 ++++++++++++-------------
extra-i686/hspell-1.0.sharedlib.patch | 132 +++++++++++++++---------------
extra-x86_64/PKGBUILD | 114 ++++++++++++-------------
extra-x86_64/hspell-1.0.sharedlib.patch | 132 +++++++++++++++---------------
4 files changed, 246 insertions(+), 246 deletions(-)
Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD 2012-02-25 10:22:28 UTC (rev 151261)
+++ extra-i686/PKGBUILD 2012-02-25 10:23:43 UTC (rev 151262)
@@ -1,57 +0,0 @@
-# $Id$
-# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
-
-pkgbase=hspell
-pkgname=('hspell' 'hunspell-he')
-pkgver=1.1
-pkgrel=1
-arch=(i686 x86_64)
-license=('GPL')
-url="http://www.ivrix.org.il/projects/spell-checker/"
-makedepends=('glibc' 'zlib' 'perl' 'hunspell' 'gawk')
-options=('!libtool' '!makeflags')
-source=(http://hspell.ivrix.org.il/${pkgname}-${pkgver}.tar.gz
- hspell-1.0.sharedlib.patch)
-md5sums=('e79e75180ce529c008ea085954a52f2c'
- '0df6764bb37500ee936b9355fee0c7a5')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- patch -Np1 -i ${srcdir}/hspell-1.0.sharedlib.patch
- autoreconf -v
- sed -i -e 's|/usr/bin/awk|/bin/awk|' wzip
- ./configure --prefix=/usr --mandir=/usr/share/man \
- --enable-linginfo --enable-fatverb
- make
- make hunspell
-}
-
-package_hspell() {
-
- pkgdesc="Hebrew spell-checker"
- depends=('glibc' 'zlib' 'perl')
-
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
-
- rm -f ${pkgdir}/usr/lib/libhspell.a
-}
-
-package_hunspell-he() {
-
- pkgdesc="Hebrew hunspell dictionary"
-
- cd "${srcdir}/${pkgbase}-${pkgver}"
-
- install -dm755 ${pkgdir}/usr/share/hunspell
- cp -p hunspell/new_he.dic ${pkgdir}/usr/share/hunspell/he_IL.dic
- cp -p hunspell/new_he.aff ${pkgdir}/usr/share/hunspell/he_IL.aff
-
- # the symlinks
- install -dm755 ${pkgdir}/usr/share/myspell/dicts
- pushd $pkgdir/usr/share/myspell/dicts
- for file in $pkgdir/usr/share/hunspell/*; do
- ln -sv /usr/share/hunspell/$(basename $file) .
- done
- popd
-}
Copied: hspell/repos/extra-i686/PKGBUILD (from rev 151261, hspell/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD (rev 0)
+++ extra-i686/PKGBUILD 2012-02-25 10:23:43 UTC (rev 151262)
@@ -0,0 +1,57 @@
+# $Id$
+# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
+
+pkgbase=hspell
+pkgname=('hspell' 'hunspell-he')
+pkgver=1.1
+pkgrel=2
+arch=('i686' 'x86_64')
+license=('GPL')
+url="http://www.ivrix.org.il/projects/spell-checker/"
+makedepends=('glibc' 'zlib' 'perl' 'hunspell' 'gawk')
+options=('!libtool' '!makeflags')
+source=(http://hspell.ivrix.org.il/${pkgname}-${pkgver}.tar.gz
+ hspell-1.0.sharedlib.patch)
+md5sums=('e79e75180ce529c008ea085954a52f2c'
+ '0df6764bb37500ee936b9355fee0c7a5')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ patch -Np1 -i ${srcdir}/hspell-1.0.sharedlib.patch
+ autoreconf -v
+ sed -i -e 's|/usr/bin/awk|/bin/awk|' wzip
+ ./configure --prefix=/usr --mandir=/usr/share/man \
+ --enable-linginfo --enable-fatverb
+ make
+ make hunspell
+}
+
+package_hspell() {
+
+ pkgdesc="Hebrew spell-checker"
+ depends=('glibc' 'zlib' 'perl')
+
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+
+ rm -f ${pkgdir}/usr/lib/libhspell.a
+}
+
+package_hunspell-he() {
+
+ pkgdesc="Hebrew hunspell dictionary"
+
+ cd "${srcdir}/${pkgbase}-${pkgver}"
+
+ install -dm755 ${pkgdir}/usr/share/hunspell
+ install -m644 hunspell/new_he.dic ${pkgdir}/usr/share/hunspell/he_IL.dic
+ install -m644 hunspell/new_he.aff ${pkgdir}/usr/share/hunspell/he_IL.aff
+
+ # the symlinks
+ install -dm755 ${pkgdir}/usr/share/myspell/dicts
+ pushd $pkgdir/usr/share/myspell/dicts
+ for file in $pkgdir/usr/share/hunspell/*; do
+ ln -sv /usr/share/hunspell/$(basename $file) .
+ done
+ popd
+}
Deleted: extra-i686/hspell-1.0.sharedlib.patch
===================================================================
--- extra-i686/hspell-1.0.sharedlib.patch 2012-02-25 10:22:28 UTC (rev 151261)
+++ extra-i686/hspell-1.0.sharedlib.patch 2012-02-25 10:23:43 UTC (rev 151262)
@@ -1,66 +0,0 @@
-Index: hspell-1.0/Makefile.in
-===================================================================
---- hspell-1.0.orig/Makefile.in
-+++ hspell-1.0/Makefile.in
-@@ -51,7 +51,7 @@ LDFLAGS=@LDFLAGS@
-
- # Our TARGETS variable chooses what to compile. Some things are
- # optionally compiled depending on --enable-* paramters to configure.
--TARGETS = @TARGETS@
-+TARGETS = @TARGETS@ libhspell.a
- all: $(TARGETS)
-
- # SEDCMD controls on whether objective-kinuyim - about 130,000 rare verb
-@@ -76,7 +76,8 @@ clean:
- hebrew.wgz.lingsizes.tmp dmask.c install.js \
- spell-he.xpi he.dic he.aff README-he.txt \
- README_he_IL.txt he_IL.dic he_IL.aff he_IL.zip \
-- specfilter.o specfilter
-+ specfilter.o specfilter \
-+ libhspell.so.0 libhspell.so *.lo
- rm -f hebeng/install.js hebeng/heb-eng.aff hebeng/heb-eng.dic \
- hebeng/README-he.txt hebeng/README-en-US.txt \
- hebeng/spell-heb-eng.xpi
-@@ -113,6 +114,9 @@ install: all
- test -d $(DESTDIR)$(LIBDIR) || mkdir -m 755 -p $(DESTDIR)$(LIBDIR)
- cp libhspell.a $(DESTDIR)$(LIBDIR)/
- chmod 644 $(DESTDIR)$(LIBDIR)/libhspell.a
-+ cp libhspell.so.0 $(DESTDIR)$(LIBDIR)/
-+ chmod 755 $(DESTDIR)$(LIBDIR)/libhspell.so.0
-+ ln -sf libhspell.so.0 $(DESTDIR)$(LIBDIR)/libhspell.so
- test -d $(DESTDIR)$(INCLUDEDIR) || mkdir -m 755 -p $(DESTDIR)$(INCLUDEDIR)
- cp hspell.h linginfo.h $(DESTDIR)$(INCLUDEDIR)/
- chmod 644 $(DESTDIR)$(INCLUDEDIR)/hspell.h $(DESTDIR)$(INCLUDEDIR)/linginfo.h
-@@ -166,19 +170,30 @@ libhspell.a: dict_radix.o gimatria.o cor
- ar cr $@ $^
- -ranlib $@
-
--$(HSPELL_EXECUTABLE): hspell.o tclHash.o libhspell.a
-- $(CC) $(CFLAGS) $(LDFLAGS) -o $(HSPELL_EXECUTABLE) hspell.o tclHash.o libhspell.a $(LIBS)
-+EXTRAOBJECTSPIC=$(EXTRAOBJECTS:.o=.lo)
-+
-+%.lo: %.c
-+ $(CC) -c $(CFLAGS) $(CPPFLAGS) $(DEFS) -fPIC -DPIC -o $@ $<
-+
-+libhspell.so.0: dict_radix.lo gimatria.lo corlist.lo libhspell.lo $(EXTRAOBJECTSPIC)
-+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ -shared -Wl,-soname,libhspell.so.0 $^ -lz
-+ ln -sf libhspell.so.0 libhspell.so
-+
-+$(HSPELL_EXECUTABLE): hspell.o tclHash.o libhspell.so.0
-+ $(CC) $(CFLAGS) $(LDFLAGS) -o $(HSPELL_EXECUTABLE) hspell.o tclHash.o libhspell.so.0 $(LIBS)
-
- # remember to update this dependency list once in a while...
- libhspell.o dict_radix.o find_sizes.o: dict_radix.h
- dict_radix.o linginfo.o: gzbuffered.h
- libhspell.o mk_he_affix.o: prefixes.c
-+libhspell.lo mk_he_affix.lo: prefixes.c
- hspell.o: hash.h tclHash.h
- tclHash.o: tclHash.h
- corlist.o gimatria.o hspell.o libhspell.o: hspell.h
- hspell.o libhspell.o linginfo.o: linginfo.h hspell.h
- linginfo.o: dmask.c
- specfilter.o: prefixes.c
-+specfilter.lo: prefixes.c
-
- prefixes.c: genprefixes.pl PrefixBits.pl
- $(PERL) -w ./genprefixes.pl >prefixes.c
Copied: hspell/repos/extra-i686/hspell-1.0.sharedlib.patch (from rev 151261, hspell/trunk/hspell-1.0.sharedlib.patch)
===================================================================
--- extra-i686/hspell-1.0.sharedlib.patch (rev 0)
+++ extra-i686/hspell-1.0.sharedlib.patch 2012-02-25 10:23:43 UTC (rev 151262)
@@ -0,0 +1,66 @@
+Index: hspell-1.0/Makefile.in
+===================================================================
+--- hspell-1.0.orig/Makefile.in
++++ hspell-1.0/Makefile.in
+@@ -51,7 +51,7 @@ LDFLAGS=@LDFLAGS@
+
+ # Our TARGETS variable chooses what to compile. Some things are
+ # optionally compiled depending on --enable-* paramters to configure.
+-TARGETS = @TARGETS@
++TARGETS = @TARGETS@ libhspell.a
+ all: $(TARGETS)
+
+ # SEDCMD controls on whether objective-kinuyim - about 130,000 rare verb
+@@ -76,7 +76,8 @@ clean:
+ hebrew.wgz.lingsizes.tmp dmask.c install.js \
+ spell-he.xpi he.dic he.aff README-he.txt \
+ README_he_IL.txt he_IL.dic he_IL.aff he_IL.zip \
+- specfilter.o specfilter
++ specfilter.o specfilter \
++ libhspell.so.0 libhspell.so *.lo
+ rm -f hebeng/install.js hebeng/heb-eng.aff hebeng/heb-eng.dic \
+ hebeng/README-he.txt hebeng/README-en-US.txt \
+ hebeng/spell-heb-eng.xpi
+@@ -113,6 +114,9 @@ install: all
+ test -d $(DESTDIR)$(LIBDIR) || mkdir -m 755 -p $(DESTDIR)$(LIBDIR)
+ cp libhspell.a $(DESTDIR)$(LIBDIR)/
+ chmod 644 $(DESTDIR)$(LIBDIR)/libhspell.a
++ cp libhspell.so.0 $(DESTDIR)$(LIBDIR)/
++ chmod 755 $(DESTDIR)$(LIBDIR)/libhspell.so.0
++ ln -sf libhspell.so.0 $(DESTDIR)$(LIBDIR)/libhspell.so
+ test -d $(DESTDIR)$(INCLUDEDIR) || mkdir -m 755 -p $(DESTDIR)$(INCLUDEDIR)
+ cp hspell.h linginfo.h $(DESTDIR)$(INCLUDEDIR)/
+ chmod 644 $(DESTDIR)$(INCLUDEDIR)/hspell.h $(DESTDIR)$(INCLUDEDIR)/linginfo.h
+@@ -166,19 +170,30 @@ libhspell.a: dict_radix.o gimatria.o cor
+ ar cr $@ $^
+ -ranlib $@
+
+-$(HSPELL_EXECUTABLE): hspell.o tclHash.o libhspell.a
+- $(CC) $(CFLAGS) $(LDFLAGS) -o $(HSPELL_EXECUTABLE) hspell.o tclHash.o libhspell.a $(LIBS)
++EXTRAOBJECTSPIC=$(EXTRAOBJECTS:.o=.lo)
++
++%.lo: %.c
++ $(CC) -c $(CFLAGS) $(CPPFLAGS) $(DEFS) -fPIC -DPIC -o $@ $<
++
++libhspell.so.0: dict_radix.lo gimatria.lo corlist.lo libhspell.lo $(EXTRAOBJECTSPIC)
++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ -shared -Wl,-soname,libhspell.so.0 $^ -lz
++ ln -sf libhspell.so.0 libhspell.so
++
++$(HSPELL_EXECUTABLE): hspell.o tclHash.o libhspell.so.0
++ $(CC) $(CFLAGS) $(LDFLAGS) -o $(HSPELL_EXECUTABLE) hspell.o tclHash.o libhspell.so.0 $(LIBS)
+
+ # remember to update this dependency list once in a while...
+ libhspell.o dict_radix.o find_sizes.o: dict_radix.h
+ dict_radix.o linginfo.o: gzbuffered.h
+ libhspell.o mk_he_affix.o: prefixes.c
++libhspell.lo mk_he_affix.lo: prefixes.c
+ hspell.o: hash.h tclHash.h
+ tclHash.o: tclHash.h
+ corlist.o gimatria.o hspell.o libhspell.o: hspell.h
+ hspell.o libhspell.o linginfo.o: linginfo.h hspell.h
+ linginfo.o: dmask.c
+ specfilter.o: prefixes.c
++specfilter.lo: prefixes.c
+
+ prefixes.c: genprefixes.pl PrefixBits.pl
+ $(PERL) -w ./genprefixes.pl >prefixes.c
Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD 2012-02-25 10:22:28 UTC (rev 151261)
+++ extra-x86_64/PKGBUILD 2012-02-25 10:23:43 UTC (rev 151262)
@@ -1,57 +0,0 @@
-# $Id$
-# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
-
-pkgbase=hspell
-pkgname=('hspell' 'hunspell-he')
-pkgver=1.1
-pkgrel=1
-arch=(i686 x86_64)
-license=('GPL')
-url="http://www.ivrix.org.il/projects/spell-checker/"
-makedepends=('glibc' 'zlib' 'perl' 'hunspell' 'gawk')
-options=('!libtool' '!makeflags')
-source=(http://hspell.ivrix.org.il/${pkgname}-${pkgver}.tar.gz
- hspell-1.0.sharedlib.patch)
-md5sums=('e79e75180ce529c008ea085954a52f2c'
- '0df6764bb37500ee936b9355fee0c7a5')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- patch -Np1 -i ${srcdir}/hspell-1.0.sharedlib.patch
- autoreconf -v
- sed -i -e 's|/usr/bin/awk|/bin/awk|' wzip
- ./configure --prefix=/usr --mandir=/usr/share/man \
- --enable-linginfo --enable-fatverb
- make
- make hunspell
-}
-
-package_hspell() {
-
- pkgdesc="Hebrew spell-checker"
- depends=('glibc' 'zlib' 'perl')
-
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
-
- rm -f ${pkgdir}/usr/lib/libhspell.a
-}
-
-package_hunspell-he() {
-
- pkgdesc="Hebrew hunspell dictionary"
-
- cd "${srcdir}/${pkgbase}-${pkgver}"
-
- install -dm755 ${pkgdir}/usr/share/hunspell
- cp -p hunspell/new_he.dic ${pkgdir}/usr/share/hunspell/he_IL.dic
- cp -p hunspell/new_he.aff ${pkgdir}/usr/share/hunspell/he_IL.aff
-
- # the symlinks
- install -dm755 ${pkgdir}/usr/share/myspell/dicts
- pushd $pkgdir/usr/share/myspell/dicts
- for file in $pkgdir/usr/share/hunspell/*; do
- ln -sv /usr/share/hunspell/$(basename $file) .
- done
- popd
-}
Copied: hspell/repos/extra-x86_64/PKGBUILD (from rev 151261, hspell/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD (rev 0)
+++ extra-x86_64/PKGBUILD 2012-02-25 10:23:43 UTC (rev 151262)
@@ -0,0 +1,57 @@
+# $Id$
+# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
+
+pkgbase=hspell
+pkgname=('hspell' 'hunspell-he')
+pkgver=1.1
+pkgrel=2
+arch=('i686' 'x86_64')
+license=('GPL')
+url="http://www.ivrix.org.il/projects/spell-checker/"
+makedepends=('glibc' 'zlib' 'perl' 'hunspell' 'gawk')
+options=('!libtool' '!makeflags')
+source=(http://hspell.ivrix.org.il/${pkgname}-${pkgver}.tar.gz
+ hspell-1.0.sharedlib.patch)
+md5sums=('e79e75180ce529c008ea085954a52f2c'
+ '0df6764bb37500ee936b9355fee0c7a5')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ patch -Np1 -i ${srcdir}/hspell-1.0.sharedlib.patch
+ autoreconf -v
+ sed -i -e 's|/usr/bin/awk|/bin/awk|' wzip
+ ./configure --prefix=/usr --mandir=/usr/share/man \
+ --enable-linginfo --enable-fatverb
+ make
+ make hunspell
+}
+
+package_hspell() {
+
+ pkgdesc="Hebrew spell-checker"
+ depends=('glibc' 'zlib' 'perl')
+
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+
+ rm -f ${pkgdir}/usr/lib/libhspell.a
+}
+
+package_hunspell-he() {
+
+ pkgdesc="Hebrew hunspell dictionary"
+
+ cd "${srcdir}/${pkgbase}-${pkgver}"
+
+ install -dm755 ${pkgdir}/usr/share/hunspell
+ install -m644 hunspell/new_he.dic ${pkgdir}/usr/share/hunspell/he_IL.dic
+ install -m644 hunspell/new_he.aff ${pkgdir}/usr/share/hunspell/he_IL.aff
+
+ # the symlinks
+ install -dm755 ${pkgdir}/usr/share/myspell/dicts
+ pushd $pkgdir/usr/share/myspell/dicts
+ for file in $pkgdir/usr/share/hunspell/*; do
+ ln -sv /usr/share/hunspell/$(basename $file) .
+ done
+ popd
+}
Deleted: extra-x86_64/hspell-1.0.sharedlib.patch
===================================================================
--- extra-x86_64/hspell-1.0.sharedlib.patch 2012-02-25 10:22:28 UTC (rev 151261)
+++ extra-x86_64/hspell-1.0.sharedlib.patch 2012-02-25 10:23:43 UTC (rev 151262)
@@ -1,66 +0,0 @@
-Index: hspell-1.0/Makefile.in
-===================================================================
---- hspell-1.0.orig/Makefile.in
-+++ hspell-1.0/Makefile.in
-@@ -51,7 +51,7 @@ LDFLAGS=@LDFLAGS@
-
- # Our TARGETS variable chooses what to compile. Some things are
- # optionally compiled depending on --enable-* paramters to configure.
--TARGETS = @TARGETS@
-+TARGETS = @TARGETS@ libhspell.a
- all: $(TARGETS)
-
- # SEDCMD controls on whether objective-kinuyim - about 130,000 rare verb
-@@ -76,7 +76,8 @@ clean:
- hebrew.wgz.lingsizes.tmp dmask.c install.js \
- spell-he.xpi he.dic he.aff README-he.txt \
- README_he_IL.txt he_IL.dic he_IL.aff he_IL.zip \
-- specfilter.o specfilter
-+ specfilter.o specfilter \
-+ libhspell.so.0 libhspell.so *.lo
- rm -f hebeng/install.js hebeng/heb-eng.aff hebeng/heb-eng.dic \
- hebeng/README-he.txt hebeng/README-en-US.txt \
- hebeng/spell-heb-eng.xpi
-@@ -113,6 +114,9 @@ install: all
- test -d $(DESTDIR)$(LIBDIR) || mkdir -m 755 -p $(DESTDIR)$(LIBDIR)
- cp libhspell.a $(DESTDIR)$(LIBDIR)/
- chmod 644 $(DESTDIR)$(LIBDIR)/libhspell.a
-+ cp libhspell.so.0 $(DESTDIR)$(LIBDIR)/
-+ chmod 755 $(DESTDIR)$(LIBDIR)/libhspell.so.0
-+ ln -sf libhspell.so.0 $(DESTDIR)$(LIBDIR)/libhspell.so
- test -d $(DESTDIR)$(INCLUDEDIR) || mkdir -m 755 -p $(DESTDIR)$(INCLUDEDIR)
- cp hspell.h linginfo.h $(DESTDIR)$(INCLUDEDIR)/
- chmod 644 $(DESTDIR)$(INCLUDEDIR)/hspell.h $(DESTDIR)$(INCLUDEDIR)/linginfo.h
-@@ -166,19 +170,30 @@ libhspell.a: dict_radix.o gimatria.o cor
- ar cr $@ $^
- -ranlib $@
-
--$(HSPELL_EXECUTABLE): hspell.o tclHash.o libhspell.a
-- $(CC) $(CFLAGS) $(LDFLAGS) -o $(HSPELL_EXECUTABLE) hspell.o tclHash.o libhspell.a $(LIBS)
-+EXTRAOBJECTSPIC=$(EXTRAOBJECTS:.o=.lo)
-+
-+%.lo: %.c
-+ $(CC) -c $(CFLAGS) $(CPPFLAGS) $(DEFS) -fPIC -DPIC -o $@ $<
-+
-+libhspell.so.0: dict_radix.lo gimatria.lo corlist.lo libhspell.lo $(EXTRAOBJECTSPIC)
-+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ -shared -Wl,-soname,libhspell.so.0 $^ -lz
-+ ln -sf libhspell.so.0 libhspell.so
-+
-+$(HSPELL_EXECUTABLE): hspell.o tclHash.o libhspell.so.0
-+ $(CC) $(CFLAGS) $(LDFLAGS) -o $(HSPELL_EXECUTABLE) hspell.o tclHash.o libhspell.so.0 $(LIBS)
-
- # remember to update this dependency list once in a while...
- libhspell.o dict_radix.o find_sizes.o: dict_radix.h
- dict_radix.o linginfo.o: gzbuffered.h
- libhspell.o mk_he_affix.o: prefixes.c
-+libhspell.lo mk_he_affix.lo: prefixes.c
- hspell.o: hash.h tclHash.h
- tclHash.o: tclHash.h
- corlist.o gimatria.o hspell.o libhspell.o: hspell.h
- hspell.o libhspell.o linginfo.o: linginfo.h hspell.h
- linginfo.o: dmask.c
- specfilter.o: prefixes.c
-+specfilter.lo: prefixes.c
-
- prefixes.c: genprefixes.pl PrefixBits.pl
- $(PERL) -w ./genprefixes.pl >prefixes.c
Copied: hspell/repos/extra-x86_64/hspell-1.0.sharedlib.patch (from rev 151261, hspell/trunk/hspell-1.0.sharedlib.patch)
===================================================================
--- extra-x86_64/hspell-1.0.sharedlib.patch (rev 0)
+++ extra-x86_64/hspell-1.0.sharedlib.patch 2012-02-25 10:23:43 UTC (rev 151262)
@@ -0,0 +1,66 @@
+Index: hspell-1.0/Makefile.in
+===================================================================
+--- hspell-1.0.orig/Makefile.in
++++ hspell-1.0/Makefile.in
+@@ -51,7 +51,7 @@ LDFLAGS=@LDFLAGS@
+
+ # Our TARGETS variable chooses what to compile. Some things are
+ # optionally compiled depending on --enable-* paramters to configure.
+-TARGETS = @TARGETS@
++TARGETS = @TARGETS@ libhspell.a
+ all: $(TARGETS)
+
+ # SEDCMD controls on whether objective-kinuyim - about 130,000 rare verb
+@@ -76,7 +76,8 @@ clean:
+ hebrew.wgz.lingsizes.tmp dmask.c install.js \
+ spell-he.xpi he.dic he.aff README-he.txt \
+ README_he_IL.txt he_IL.dic he_IL.aff he_IL.zip \
+- specfilter.o specfilter
++ specfilter.o specfilter \
++ libhspell.so.0 libhspell.so *.lo
+ rm -f hebeng/install.js hebeng/heb-eng.aff hebeng/heb-eng.dic \
+ hebeng/README-he.txt hebeng/README-en-US.txt \
+ hebeng/spell-heb-eng.xpi
+@@ -113,6 +114,9 @@ install: all
+ test -d $(DESTDIR)$(LIBDIR) || mkdir -m 755 -p $(DESTDIR)$(LIBDIR)
+ cp libhspell.a $(DESTDIR)$(LIBDIR)/
+ chmod 644 $(DESTDIR)$(LIBDIR)/libhspell.a
++ cp libhspell.so.0 $(DESTDIR)$(LIBDIR)/
++ chmod 755 $(DESTDIR)$(LIBDIR)/libhspell.so.0
++ ln -sf libhspell.so.0 $(DESTDIR)$(LIBDIR)/libhspell.so
+ test -d $(DESTDIR)$(INCLUDEDIR) || mkdir -m 755 -p $(DESTDIR)$(INCLUDEDIR)
+ cp hspell.h linginfo.h $(DESTDIR)$(INCLUDEDIR)/
+ chmod 644 $(DESTDIR)$(INCLUDEDIR)/hspell.h $(DESTDIR)$(INCLUDEDIR)/linginfo.h
+@@ -166,19 +170,30 @@ libhspell.a: dict_radix.o gimatria.o cor
+ ar cr $@ $^
+ -ranlib $@
+
+-$(HSPELL_EXECUTABLE): hspell.o tclHash.o libhspell.a
+- $(CC) $(CFLAGS) $(LDFLAGS) -o $(HSPELL_EXECUTABLE) hspell.o tclHash.o libhspell.a $(LIBS)
++EXTRAOBJECTSPIC=$(EXTRAOBJECTS:.o=.lo)
++
++%.lo: %.c
++ $(CC) -c $(CFLAGS) $(CPPFLAGS) $(DEFS) -fPIC -DPIC -o $@ $<
++
++libhspell.so.0: dict_radix.lo gimatria.lo corlist.lo libhspell.lo $(EXTRAOBJECTSPIC)
++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ -shared -Wl,-soname,libhspell.so.0 $^ -lz
++ ln -sf libhspell.so.0 libhspell.so
++
++$(HSPELL_EXECUTABLE): hspell.o tclHash.o libhspell.so.0
++ $(CC) $(CFLAGS) $(LDFLAGS) -o $(HSPELL_EXECUTABLE) hspell.o tclHash.o libhspell.so.0 $(LIBS)
+
+ # remember to update this dependency list once in a while...
+ libhspell.o dict_radix.o find_sizes.o: dict_radix.h
+ dict_radix.o linginfo.o: gzbuffered.h
+ libhspell.o mk_he_affix.o: prefixes.c
++libhspell.lo mk_he_affix.lo: prefixes.c
+ hspell.o: hash.h tclHash.h
+ tclHash.o: tclHash.h
+ corlist.o gimatria.o hspell.o libhspell.o: hspell.h
+ hspell.o libhspell.o linginfo.o: linginfo.h hspell.h
+ linginfo.o: dmask.c
+ specfilter.o: prefixes.c
++specfilter.lo: prefixes.c
+
+ prefixes.c: genprefixes.pl PrefixBits.pl
+ $(PERL) -w ./genprefixes.pl >prefixes.c
More information about the arch-commits
mailing list