wok-next annotate enchant/receipt @ rev 1966
mysql: external init script support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jan 01 13:40:42 2009 +0000 (2009-01-01) |
parents | 3d99ecce2d4b |
children | 25f912aa196a |
rev | line source |
---|---|
pankso@571 | 1 # SliTaz package receipt. |
pankso@571 | 2 |
pankso@571 | 3 PACKAGE="enchant" |
pankso@571 | 4 VERSION="1.4.0" |
pankso@571 | 5 CATEGORY="x-window" |
pankso@571 | 6 SHORT_DESC="Enchant spell checking library." |
pankso@571 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@1514 | 8 BUILD_DEPENDS="pkg-config glib glib-dev" |
pankso@571 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@571 | 10 WEB_SITE="http://www.abisource.com/projects/enchant/" |
pankso@571 | 11 WGET_URL="http://www.abisource.com/downloads/enchant/$VERSION/$TARBALL" |
pankso@571 | 12 |
pankso@571 | 13 # Rules to configure and make the package. |
pankso@571 | 14 compile_rules() |
pankso@571 | 15 { |
pankso@571 | 16 cd $src |
pankso@571 | 17 ./configure \ |
pankso@571 | 18 --prefix=/usr \ |
pankso@571 | 19 --mandir=/usr/share/man \ |
pascal@1439 | 20 $CONFIGURE_ARGS && |
pascal@1439 | 21 make && |
pankso@571 | 22 make DESTDIR=$PWD/_pkg install |
pankso@571 | 23 } |
pankso@571 | 24 |
pankso@571 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@571 | 26 genpkg_rules() |
pankso@571 | 27 { |
pankso@571 | 28 mkdir -p $fs/usr/lib $fs/usr/share |
pankso@571 | 29 cp -a $_pkg/usr/bin $fs/usr |
pankso@571 | 30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@571 | 31 cp -a $_pkg/usr/lib/enchant $fs/usr/lib |
pankso@571 | 32 rm $fs/usr/lib/enchant/*.*a |
pankso@571 | 33 cp -a $_pkg/usr/share/enchant $fs/usr/share |
pankso@571 | 34 } |
pankso@571 | 35 |