# SliTaz package receipt. PACKAGE="openssl" VERSION="1.0.0g" CATEGORY="security" SHORT_DESC="Open source Secure Sockets Layer." MAINTAINER="pascal.bellard@slitaz.org" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://www.openssl.org/" WGET_URL="http://www.openssl.org/source/$TARBALL" DEPENDS="libcrypto libssl" BUILD_DEPENDS="perl zlib-dev" TAGS="ssl security" # Rules to configure and make the package. compile_rules() { cd $src # MAKEFLAGS make openssl build fail. unset MAKEFLAGS # Add -Wa,--noexecstack here so that libcrypto's assembler modules will be # marked as not requiring an executable stack (compatibility improvement). ./config --prefix=/usr --openssldir=/etc/ssl shared zlib enable-md2 \ -Wa,--noexecstack && sed -i 's/\(basename .*\)`/\1 || true `/' Makefile && make && make INSTALL_PREFIX=$PWD/_pkg MANDIR=$PWD/_pkg/usr/share/man install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr cp -a $_pkg/etc $fs cp -a $_pkg/usr/bin $fs/usr }