wok-next view smx/receipt @ rev 21379
updated mspdebug (0.17 -> 0.25)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Apr 16 16:31:49 2020 +0100 (2020-04-16) |
parents | 0f2575775b2d |
children |
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 tdb-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="libbzip2 fontconfig freetype glib openssl libgd \
42 libharfbuzz libjpeg-turbo liblzma libpng libsqlite3 tdb \
43 libunixODBC libwebp libxml2 pcre perl-core libtiff libx11 \
44 libxau libxdmcp libxpm 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 libpng-dev tdb-dev libwebp-dev \
51 libxml2-dev openssl-dev pcre-dev perl-dev sqlite3-dev tiff-dev \
52 unixODBC-dev libx11-dev libxau-dev libxdmcp-dev \
53 libxpm-dev libxcb-dev xz-dev zlib-dev"
54 ;;
55 esac
56 }