wok annotate smx/receipt @ rev 20962
updated getmail (4.41.0 -> 5.8)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 04 17:38:05 2019 +0100 (2019-03-04) |
parents | b277cf36e71b |
children | b7f1bd1b9ac7 |
rev | line source |
---|---|
pascal@13358 | 1 # SliTaz package receipt. |
pascal@13358 | 2 |
pascal@13358 | 3 PACKAGE="smx" |
pascal@13358 | 4 VERSION="1.1.4-454" |
pascal@13358 | 5 CATEGORY="development" |
pascal@13358 | 6 SHORT_DESC="text-embedded macro processing language." |
pascal@13358 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15593 | 8 LICENSE="GPL2" |
pascal@13358 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@20689 | 10 WEB_SITE="https://web.archive.org/web/20180323014153/http://www.smxlang.org/" |
pascal@13358 | 11 WGET_URL="http://$PACKAGE.googlecode.com/files/$TARBALL" |
pascal@13358 | 12 |
pascal@13358 | 13 DEPENDS="unixODBC sqlite libgd libcrypto gcc-lib-base zlib" |
pascal@13358 | 14 BUILD_DEPENDS="apache-dev apr-dev apr-util-dev unixODBC-dev \ |
pascal@15595 | 15 sqlite libgd-dev openssl-dev perl libtool" |
pascal@13358 | 16 |
pascal@13358 | 17 # Rules to configure and make the package. |
pascal@13358 | 18 compile_rules() |
pascal@13358 | 19 { |
pascal@13358 | 20 cd $src |
pascal@15373 | 21 sed -i -e 's/ap_get_server_version/ap_get_server_banner/' \ |
pascal@15373 | 22 -e 's/remote_ip/client_ip/' modsmx/modsmx.h |
pascal@15373 | 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 |
pascal@13358 | 24 ./configure \ |
pascal@13358 | 25 --prefix=/usr \ |
pascal@13358 | 26 --mandir=/usr/share/man \ |
pascal@13358 | 27 $CONFIGURE_ARGS && |
pascal@13358 | 28 make && |
pascal@13358 | 29 make DESTDIR=$DESTDIR install |
pascal@13358 | 30 } |
pascal@13358 | 31 |
pascal@13358 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13358 | 33 genpkg_rules() |
pascal@13358 | 34 { |
pascal@13358 | 35 mkdir -p $fs/usr/lib |
pascal@13358 | 36 cp -a $install/usr/bin $fs/usr |
pascal@13358 | 37 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@13358 | 38 } |