wok annotate smx/receipt @ rev 17951

faenza-icon-theme: put icons in to $install.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Apr 16 03:54:14 2015 +0300 (2015-04-16)
parents 3b4e4318134e
children c49ffc024a6c
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@13358 10 WEB_SITE="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 }