wok-next view expat/receipt @ rev 19786

Fix intltool (for scim).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Jun 19 17:21:41 2017 +0300 (2017-06-19)
parents c740762c8991
children 90a5eb560fd6
line source
1 # SliTaz package receipt v2.
3 PACKAGE="expat"
4 VERSION="2.2.0"
5 CATEGORY="x-window"
6 SHORT_DESC="XML parsing C library"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://libexpat.github.io/"
10 HOST_ARCH="i486 arm"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 SPLIT="expat-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure \
21 --disable-static \
22 $CONFIGURE_ARGS &&
23 make && make DESTDIR=$install install
25 docdir="$install/usr/share/doc/expat-$VERSION"
26 mkdir -p $docdir; cp doc/* $docdir; rm $docdir/*.1
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 case $PACKAGE in
33 expat) copy @std ;;
34 expat-dev) copy @dev ;;
35 esac
36 }