wok-next view smx/receipt @ rev 20459
Combine receipts
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 02 13:45:43 2018 +0200 (2018-03-02) |
parents | 46e497b9cae2 |
children | 10df65db91ad |
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 && make && make install
27 }
29 genpkg_rules() {
30 case $PACKAGE in
31 *-fcgi)
32 copy smx-fcgi
33 CAT="development|FastCGI support"
34 DEPENDS="smx fcgi"
35 ;;
36 smx)
37 copy @std @rm
38 DEPENDS="bzlib fontconfig freetype glib openssl libgd \
39 libharfbuzz libjpeg-turbo liblzma libpng16 libsqlite3 libtdb \
40 libunixODBC libwebp libxml2 pcre perl-core tiff xorg-libX11 \
41 xorg-libXau xorg-libXdmcp xorg-libXpm xorg-libxcb zlib"
42 ;;
43 *-dev)
44 copy @dev
45 DEPENDS="smx smx-fcgi \
46 bzip2-dev fontconfig-dev freetype-dev glib-dev harfbuzz-dev \
47 libjpeg-turbo-dev libgd-dev libpng16-dev libtdb-dev libwebp-dev \
48 libxml2-dev openssl-dev pcre-dev perl-dev sqlite3-dev tiff-dev \
49 unixODBC-dev xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev \
50 xorg-libXpm-dev xorg-libxcb-dev xz-dev zlib-dev"
51 ;;
52 esac
53 }