wok-6.x annotate enchant/receipt @ rev 20491

libzim-dev: add libzim.pc
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 27 23:06:17 2018 +0200 (2018-10-27)
parents 223b265f40fd
children 3d4ef3b6bf66
rev   line source
pankso@571 1 # SliTaz package receipt.
pankso@571 2
pankso@571 3 PACKAGE="enchant"
slaxemulator@6688 4 VERSION="1.6.0"
pankso@571 5 CATEGORY="x-window"
pankso@571 6 SHORT_DESC="Enchant spell checking library."
pankso@571 7 MAINTAINER="pankso@slitaz.org"
pascal@15202 8 LICENSE="LGPL2.1"
pankso@2879 9 SUGGESTED="aspell"
pankso@571 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@571 11 WEB_SITE="http://www.abisource.com/projects/enchant/"
pankso@571 12 WGET_URL="http://www.abisource.com/downloads/enchant/$VERSION/$TARBALL"
jozee@4935 13 TAGS="spell check"
pankso@16248 14 HOST_ARCH="i486 arm"
pankso@571 15
pascal@15202 16 DEPENDS="dbus dbus-glib glib gcc-lib-base"
pankso@16248 17 BUILD_DEPENDS="pkg-config glib glib-dev aspell-dev"
pascal@15202 18
pankso@571 19 # Rules to configure and make the package.
pankso@571 20 compile_rules()
pankso@571 21 {
pankso@571 22 ./configure \
pascal@1439 23 $CONFIGURE_ARGS &&
pankso@16248 24 make && make install
pankso@571 25 }
pankso@571 26
pankso@571 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@571 28 genpkg_rules()
pankso@571 29 {
pankso@571 30 mkdir -p $fs/usr/lib $fs/usr/share
pascal@15202 31 cp -a $install/usr/bin $fs/usr
pascal@15202 32 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@15202 33 cp -a $install/usr/lib/enchant $fs/usr/lib
pankso@571 34 rm $fs/usr/lib/enchant/*.*a
pascal@15202 35 cp -a $install/usr/share/enchant $fs/usr/share
pankso@571 36 }
pankso@571 37