wok annotate alpine/receipt @ rev 18394

mtpaint: disable libopenjpeg & libjasper
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Sat Sep 19 01:58:35 2015 +0200 (2015-09-19)
parents 617dbdeb6f7e
children d5f9f516b706
rev   line source
paul@2337 1 # SliTaz package receipt.
paul@2337 2
paul@2337 3 PACKAGE="alpine"
paul@2337 4 VERSION="2.00"
paul@2337 5 CATEGORY="network"
paul@2337 6 SHORT_DESC="Fast, easy to use email client."
paul@2337 7 MAINTAINER="paul@slitaz.org"
pascal@15362 8 LICENSE="Apache"
paul@2337 9 TARBALL="$PACKAGE.tar.gz"
paul@2337 10 WEB_SITE="http://www.washington.edu/alpine/"
paul@2337 11 WGET_URL="ftp://ftp.cac.washington.edu/alpine/$TARBALL"
jozee@3563 12 TAGS="mail client"
pankso@16109 13 #HOST_ARCH="i486 arm"
paul@2337 14
pankso@16109 15 DEPENDS="libssl pam ncurses"
pankso@16109 16 BUILD_DEPENDS="openssl-dev pam-dev ncurses-dev"
pascal@15362 17
paul@2337 18 # Rules to configure and make the package.
paul@2337 19 compile_rules()
paul@2337 20 {
paul@2337 21 ./configure \
pankso@16109 22 --without-tcl \
pankso@16109 23 --without-ldap \
pankso@16109 24 --without-krb5 \
paul@2337 25 $CONFIGURE_ARGS &&
pascal@15362 26 make && make DESTDIR=$DESTDIR install
paul@2337 27 }
paul@2337 28
paul@2337 29 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@2337 30 genpkg_rules()
paul@2337 31 {
paul@2337 32 mkdir -p $fs/usr
pascal@15362 33 cp -a $install/usr/bin $fs/usr
paul@2337 34 }
paul@4372 35
paul@4372 36 post_install()
paul@4372 37 {
paul@4372 38 # link old libldap libraries
paul@4372 39 echo -n "Linking libraries..."
paul@4372 40 cd $1/usr/lib
paul@4372 41 ln -s liblber-2.4.so.2.4.2 liblber-2.3.so.0
paul@4377 42 ln -s libldap-2.4.so.2.4.2 libldap-2.3.so.0
paul@4372 43 status
paul@4372 44 }
paul@4372 45
paul@4372 46 post_remove()
paul@4372 47 {
paul@4372 48 echo -n "Removing linked libraries..."
paul@4372 49 rm -f /usr/lib/liblber-2.3.so.0
paul@4377 50 rm -f /usr/lib/libldap-2.3.so.0
paul@4372 51 status
paul@4372 52 }
paul@4372 53