wok-6.x annotate aspell/receipt @ rev 15201

Add some licenses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Sep 07 18:25:02 2013 +0000 (2013-09-07)
parents 395ec8205cff
children 128aae84d74c
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@15201 8 LICENSE="LGPL2"
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
pascal@15201 14 DEPENDS="ncurses gcc-lib-base"
pascal@15201 15
paul@2098 16 # Rules to configure and make the package.
paul@2098 17 compile_rules()
paul@2098 18 {
paul@2098 19 cd $src
paul@2098 20 ./configure --prefix=/usr --infodir=/usr/share/info \
paul@2098 21 --mandir=/usr/share/man $CONFIGURE_ARGS && \
pascal@15201 22 make && make DESTDIR=$DESTDIR install
paul@2098 23 }
paul@2098 24
paul@2098 25 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@2098 26 genpkg_rules()
paul@2098 27 {
paul@2117 28 mkdir -p $fs/usr/lib $fs/usr/share/locale
pascal@15201 29 cp -a $install/usr/bin $fs/usr
pascal@15201 30 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@15201 31 cp -a $install/usr/lib/aspell* $fs/usr/lib
paul@2113 32
paul@2113 33 for i in de es pt_BR; do
pascal@15201 34 cp -a $install/usr/share/locale/$i $fs/usr/share/locale
paul@2113 35 done
paul@2113 36
paul@2098 37 # Remove unneeded files
paul@2098 38 rm -f $fs/usr/lib/aspell*/*.*a
paul@2098 39 }