wok annotate alpine/receipt @ rev 24808
updated libmtp, libmtp-dev and mtp-tools (1.1.17 -> 1.1.19)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 22 16:29:00 2022 +0100 (2022-03-22) |
parents | 3abeffdae80b |
children | 180119c209e8 |
rev | line source |
---|---|
paul@2337 | 1 # SliTaz package receipt. |
paul@2337 | 2 |
paul@2337 | 3 PACKAGE="alpine" |
pascal@24782 | 4 VERSION="2.25" |
paul@2337 | 5 CATEGORY="network" |
Hans-G?nter@22478 | 6 TAGS="mail client" |
paul@2337 | 7 SHORT_DESC="Fast, easy to use email client." |
paul@2337 | 8 MAINTAINER="paul@slitaz.org" |
pascal@15362 | 9 LICENSE="Apache" |
pascal@21440 | 10 WEB_SITE="https://repo.or.cz/alpine.git" |
Hans-G?nter@22478 | 11 |
Hans-G?nter@22478 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
Hans-G?nter@22478 | 13 WGET_URL="http://alpine.x10host.com/$PACKAGE/release/src/$TARBALL" |
Hans-G?nter@22478 | 14 |
Hans-G?nter@22478 | 15 DEPENDS="libssl ncurses pam" |
Hans-G?nter@22478 | 16 BUILD_DEPENDS="ncurses-dev openssl-dev pam-dev" |
Hans-G?nter@22478 | 17 |
pankso@16109 | 18 #HOST_ARCH="i486 arm" |
paul@2337 | 19 |
pascal@24373 | 20 # What is the latest version available today? |
pascal@24373 | 21 current_version() |
pascal@24373 | 22 { |
pascal@24414 | 23 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24414 | 24 sed '/alpine/!d;/tar/!d;s|.*alpine-||;s|.tar.*||' | sort -Vr | sed q |
pascal@24373 | 25 } |
pascal@24373 | 26 |
paul@2337 | 27 # Rules to configure and make the package. |
paul@2337 | 28 compile_rules() |
paul@2337 | 29 { |
Hans-G?nter@22478 | 30 ./configure \ |
Hans-G?nter@22478 | 31 --without-tcl \ |
Hans-G?nter@22478 | 32 --without-ldap \ |
Hans-G?nter@22478 | 33 --without-krb5 \ |
paul@2337 | 34 $CONFIGURE_ARGS && |
Hans-G?nter@22478 | 35 make && |
Hans-G?nter@22478 | 36 make DESTDIR=$DESTDIR install |
paul@2337 | 37 } |
paul@2337 | 38 |
paul@2337 | 39 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@2337 | 40 genpkg_rules() |
paul@2337 | 41 { |
paul@2337 | 42 mkdir -p $fs/usr |
pascal@15362 | 43 cp -a $install/usr/bin $fs/usr |
paul@2337 | 44 } |
paul@4372 | 45 |
paul@4372 | 46 post_install() |
paul@4372 | 47 { |
paul@4372 | 48 # link old libldap libraries |
al@18667 | 49 cd "$1/usr/lib" |
paul@4372 | 50 ln -s liblber-2.4.so.2.4.2 liblber-2.3.so.0 |
paul@4377 | 51 ln -s libldap-2.4.so.2.4.2 libldap-2.3.so.0 |
paul@4372 | 52 } |
paul@4372 | 53 |
paul@4372 | 54 post_remove() |
paul@4372 | 55 { |
paul@4372 | 56 rm -f /usr/lib/liblber-2.3.so.0 |
paul@4377 | 57 rm -f /usr/lib/libldap-2.3.so.0 |
paul@4372 | 58 } |