
Receipt for package "smx"
# SliTaz package receipt. PACKAGE="smx" VERSION="1.1.4-454" CATEGORY="development" SHORT_DESC="text-embedded macro processing language." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="https://web.archive.org/web/20180323014153/http://www.smxlang.org/" WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/$PACKAGE/$TARBALL" DEPENDS="unixODBC sqlite libgd libcrypto gcc-lib-base zlib tiff libjpeg" BUILD_DEPENDS="apache-dev apr-dev apr-util-dev unixODBC-dev \ sqlite tiff-dev libgd-dev openssl-dev perl libtool" # What is the latest version available today? current_version() { wget -O - https://github.com/earonesty/smx/releases 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. compile_rules() { cd $src sed -i -e 's/ap_get_server_version/ap_get_server_banner/' \ -e 's/remote_ip/client_ip/' modsmx/modsmx.h 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 ./configure \ --prefix=/usr \ --mandir=/usr/share/man \ $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib cp -a $install/usr/bin $fs/usr cp -a $install/usr/lib/*.so* $fs/usr/lib }
6093 packages and 258600 files in current database (Wed Apr 23 16:49:15 2025)