# SliTaz package receipt. PACKAGE="enchant" VERSION="1.6.0" CATEGORY="x-window" SHORT_DESC="Enchant spell checking library." MAINTAINER="pankso@slitaz.org" DEPENDS="dbus dbus-glib glib gcc-lib-base" BUILD_DEPENDS="pkg-config glib glib-dev aspell aspell-dev" SUGGESTED="aspell" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://www.abisource.com/projects/enchant/" WGET_URL="http://www.abisource.com/downloads/enchant/$VERSION/$TARBALL" TAGS="spell check" # Rules to configure and make the package. compile_rules() { cd $src ./configure \ --prefix=/usr \ --mandir=/usr/share/man \ $CONFIGURE_ARGS && make && make DESTDIR=$PWD/_pkg install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib $fs/usr/share cp -a $_pkg/usr/bin $fs/usr cp -a $_pkg/usr/lib/*.so* $fs/usr/lib cp -a $_pkg/usr/lib/enchant $fs/usr/lib rm $fs/usr/lib/enchant/*.*a cp -a $_pkg/usr/share/enchant $fs/usr/share }