wok annotate aspell/receipt @ rev 4366

obmenu: fix depends
author Paul Issott <paul@slitaz.org>
date Sat Oct 10 23:10:20 2009 +0000 (2009-10-10)
parents 912ebeaf7a69
children f4fd0777003f
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@2491 8 DEPENDS="ncurses"
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"
paul@2098 12
paul@2098 13 # Rules to configure and make the package.
paul@2098 14 compile_rules()
paul@2098 15 {
paul@2098 16 cd $src
paul@2098 17 ./configure --prefix=/usr --infodir=/usr/share/info \
paul@2098 18 --mandir=/usr/share/man $CONFIGURE_ARGS && \
paul@2098 19 make && make DESTDIR=$PWD/_pkg install
paul@2098 20 }
paul@2098 21
paul@2098 22 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@2098 23 genpkg_rules()
paul@2098 24 {
paul@2117 25 mkdir -p $fs/usr/lib $fs/usr/share/locale
paul@2098 26 cp -a $_pkg/usr/bin $fs/usr
paul@2098 27 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
paul@2098 28 cp -a $_pkg/usr/lib/aspell* $fs/usr/lib
paul@2113 29
paul@2113 30 for i in de es pt_BR; do
paul@2113 31 cp -a $_pkg/usr/share/locale/$i $fs/usr/share/locale
paul@2113 32 done
paul@2113 33
paul@2098 34 # Remove unneeded files
paul@2098 35 rm -f $fs/usr/lib/aspell*/*.*a
paul@2098 36 }