wok-next view smx/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | 10df65db91ad |
children | 5669e8b3be70 |
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="$PACKAGE-fcgi $PACKAGE $PACKAGE-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 }