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