wok-next annotate aspell/receipt @ rev 9187
Fix orpheus by unsetting CFLAGS/CXXFLAGS
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Wed Mar 09 06:46:27 2011 +0100 (2011-03-09) |
parents | f4fd0777003f |
children | f4c22f009037 |
rev | line source |
---|---|
paul@2098 | 1 # SliTaz package receipt. |
paul@2098 | 2 |
paul@2098 | 3 PACKAGE="aspell" |
paul@2098 | 4 VERSION="0.60.6" |
paul@2098 | 5 CATEGORY="system-tools" |
paul@2098 | 6 SHORT_DESC="GNU spell checker." |
paul@2098 | 7 MAINTAINER="paul@slitaz.org" |
pascal@4998 | 8 DEPENDS="ncurses gcc-lib-base" |
paul@2098 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
paul@2098 | 10 WEB_SITE="http://aspell.net/" |
paul@2098 | 11 WGET_URL="ftp://ftp.gnu.org/gnu/aspell/$TARBALL" |
jozee@4931 | 12 TAGS="spell check" |
paul@2098 | 13 |
paul@2098 | 14 # Rules to configure and make the package. |
paul@2098 | 15 compile_rules() |
paul@2098 | 16 { |
paul@2098 | 17 cd $src |
paul@2098 | 18 ./configure --prefix=/usr --infodir=/usr/share/info \ |
paul@2098 | 19 --mandir=/usr/share/man $CONFIGURE_ARGS && \ |
paul@2098 | 20 make && make DESTDIR=$PWD/_pkg install |
paul@2098 | 21 } |
paul@2098 | 22 |
paul@2098 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@2098 | 24 genpkg_rules() |
paul@2098 | 25 { |
paul@2117 | 26 mkdir -p $fs/usr/lib $fs/usr/share/locale |
paul@2098 | 27 cp -a $_pkg/usr/bin $fs/usr |
paul@2098 | 28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
paul@2098 | 29 cp -a $_pkg/usr/lib/aspell* $fs/usr/lib |
paul@2113 | 30 |
paul@2113 | 31 for i in de es pt_BR; do |
paul@2113 | 32 cp -a $_pkg/usr/share/locale/$i $fs/usr/share/locale |
paul@2113 | 33 done |
paul@2113 | 34 |
paul@2098 | 35 # Remove unneeded files |
paul@2098 | 36 rm -f $fs/usr/lib/aspell*/*.*a |
paul@2098 | 37 } |