wok view smx/receipt @ rev 15399
Up: libgcrypt-dev (1.5.3)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Sat Nov 02 21:10:18 2013 +0100 (2013-11-02) |
parents | c8e8372d27d3 |
children | 3b4e4318134e |
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.smxlang.org/"
10 WGET_URL="http://$PACKAGE.googlecode.com/files/$TARBALL"
12 DEPENDS="unixODBC sqlite libgd libcrypto gcc-lib-base zlib"
13 BUILD_DEPENDS="apache-dev apr-dev apr-util-dev unixODBC-dev \
14 sqlite libgd-dev openssl-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 sed -i -e 's/ap_get_server_version/ap_get_server_banner/' \
21 -e 's/remote_ip/client_ip/' modsmx/modsmx.h
22 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
23 ./configure \
24 --prefix=/usr \
25 --mandir=/usr/share/man \
26 $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 }