wok-6.x view smx/receipt @ rev 21289

updated libsdl and libsdl-dev (1.2.14 -> 1.2.15)
author Hans-G?nter Theisgen
date Tue Apr 16 17:25:56 2019 +0100 (2019-04-16)
parents b277cf36e71b
children b7f1bd1b9ac7
line source
1 # SliTaz package receipt.
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="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://web.archive.org/web/20180323014153/http://www.smxlang.org/"
11 WGET_URL="http://$PACKAGE.googlecode.com/files/$TARBALL"
13 DEPENDS="unixODBC sqlite libgd libcrypto gcc-lib-base zlib"
14 BUILD_DEPENDS="apache-dev apr-dev apr-util-dev unixODBC-dev \
15 sqlite libgd-dev openssl-dev perl libtool"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 sed -i -e 's/ap_get_server_version/ap_get_server_banner/' \
22 -e 's/remote_ip/client_ip/' modsmx/modsmx.h
23 sed -i 's/modsmx.h"/&\n#ifdef APLOG_USE_MODULE\nAPLOG_USE_MODULE(smx);\n#undef APLOG_MARK\n#define APLOG_MARK __FILE__, __LINE__, APLOG_MODULE_INDEX\n#endif/' modsmx/modsmx.cpp
24 ./configure \
25 --prefix=/usr \
26 --mandir=/usr/share/man \
27 $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/lib/*.so* $fs/usr/lib
38 }