wok-next view smx/receipt @ rev 20730
glib: up (2.56.1) with static libs and Python2
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 29 15:17:41 2018 +0300 (2018-05-29) |
parents | e6615350078d |
children | d5aab818505e |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="smx"
4 VERSION="1.1.4-454"
5 CATEGORY="development"
6 SHORT_DESC="Text-embedded macro processing language"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="http://www.smxlang.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/smx/$TARBALL"
14 BUILD_DEPENDS="unixODBC-dev apache-dev perl-dev apr-dev apr-util-dev \
15 openssl-dev libtdb-dev libgd-dev fcgi-dev"
16 SPLIT="smx-fcgi smx smx-dev"
18 compile_rules() {
19 find docs -type f -exec dos2unix '{}' \;
20 # disable creating man pages: segmentation fault
21 sed -i '/doc2man/d' smx/Makefile.in
22 # FIXME: smx may not work as expected.
23 # Any other examples of using?
24 # Or it is only inconsistence in the docs/doc2man script?
26 ./configure $CONFIGURE_ARGS &&
27 fix libtool &&
28 make &&
29 make install
30 }
32 genpkg_rules() {
33 case $PACKAGE in
34 *-fcgi)
35 copy smx-fcgi
36 CAT="development|FastCGI support"
37 DEPENDS="smx fcgi"
38 ;;
39 smx)
40 copy @std @rm
41 DEPENDS="bzlib fontconfig freetype glib openssl libgd \
42 libharfbuzz libjpeg-turbo liblzma libpng16 libsqlite3 libtdb \
43 libunixODBC libwebp libxml2 pcre perl-core tiff xorg-libX11 \
44 xorg-libXau xorg-libXdmcp xorg-libXpm xorg-libxcb zlib"
45 ;;
46 *-dev)
47 copy @dev
48 DEPENDS="smx smx-fcgi \
49 bzip2-dev fontconfig-dev freetype-dev glib-dev harfbuzz-dev \
50 libjpeg-turbo-dev libgd-dev libpng16-dev libtdb-dev libwebp-dev \
51 libxml2-dev openssl-dev pcre-dev perl-dev sqlite3-dev tiff-dev \
52 unixODBC-dev xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev \
53 xorg-libXpm-dev xorg-libxcb-dev xz-dev zlib-dev"
54 ;;
55 esac
56 }