wok-next diff alpine/receipt @ rev 20560

openmotif: fix build; celestia: try but no luck
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Apr 08 17:12:24 2018 +0300 (2018-04-08)
parents c4e53a39395a
children 835b3b8ce6ac
line diff
     1.1 --- a/alpine/receipt	Fri Mar 02 12:12:14 2018 +0200
     1.2 +++ b/alpine/receipt	Sun Apr 08 17:12:24 2018 +0300
     1.3 @@ -1,47 +1,32 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="alpine"
     1.8  VERSION="2.00"
     1.9  CATEGORY="network"
    1.10 -SHORT_DESC="Fast, easy to use email client."
    1.11 +SHORT_DESC="Fast, easy to use email client"
    1.12  MAINTAINER="paul@slitaz.org"
    1.13  LICENSE="Apache"
    1.14  WEB_SITE="http://www.washington.edu/alpine/"
    1.15 +
    1.16  TARBALL="$PACKAGE.tar.gz"
    1.17  WGET_URL="ftp://ftp.cac.washington.edu/alpine/$TARBALL"
    1.18 -TAGS="mail client"
    1.19  
    1.20 -DEPENDS="openssl pam ncurses"
    1.21 -BUILD_DEPENDS="openssl-dev pam-dev ncurses-dev gfortran gettext"
    1.22 +BUILD_DEPENDS="openssl10-dev pam-dev ncurses-dev gfortran gettext"
    1.23  
    1.24 -# Rules to configure and make the package.
    1.25 -compile_rules()
    1.26 -{
    1.27 +compile_rules() {
    1.28 +	CPPFLAGS="$CPPFLAGS -I/usr/include/openssl-1.0" \
    1.29  	./configure \
    1.30  		--without-tcl \
    1.31  		--without-ldap \
    1.32  		--without-krb5 \
    1.33 +		--with-ssl-include-dir=/usr/include/openssl-1.0/ \
    1.34 +		--with-ssl-lib-dir=/usr/lib/openssl-1.0/ \
    1.35  		$CONFIGURE_ARGS &&
    1.36  	make && make DESTDIR=$DESTDIR install
    1.37  }
    1.38  
    1.39 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.40 -genpkg_rules()
    1.41 -{
    1.42 -	mkdir -p $fs/usr
    1.43 -	cp -a $install/usr/bin $fs/usr
    1.44 +genpkg_rules() {
    1.45 +	copy @std
    1.46 +	DEPENDS="ncurses openssl10 pam"
    1.47 +	TAGS="mail client"
    1.48  }
    1.49 -
    1.50 -post_install()
    1.51 -{
    1.52 -	# link old libldap libraries
    1.53 -	cd "$1/usr/lib"
    1.54 -	ln -s liblber-2.4.so.2.4.2 liblber-2.3.so.0
    1.55 -	ln -s libldap-2.4.so.2.4.2 libldap-2.3.so.0
    1.56 -}
    1.57 -
    1.58 -post_remove()
    1.59 -{
    1.60 -	rm -f /usr/lib/liblber-2.3.so.0
    1.61 -	rm -f /usr/lib/libldap-2.3.so.0
    1.62 -}