wok annotate libetpan/receipt @ rev 18112
Up: slitaz-tools,slitaz-tools-boxes,tazdrop(943), tazpkg(812).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jun 04 17:21:46 2015 +0300 (2015-06-04) |
parents | e0a2bee6e197 |
children | 993126b16f4a |
rev | line source |
---|---|
erjo@1265 | 1 # SliTaz package receipt. |
erjo@1265 | 2 |
erjo@1265 | 3 PACKAGE="libetpan" |
slaxemulator@6354 | 4 VERSION="1.0" |
pascal@1423 | 5 CATEGORY="misc" |
erjo@1265 | 6 SHORT_DESC="Mail librayry" |
erjo@1265 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15472 | 8 LICENSE="BSD" |
erjo@1265 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
erjo@1265 | 10 WEB_SITE="http://libetpan.sourceforge.net/libetpan/index.html" |
erjo@1265 | 11 WGET_URL="http://heanet.dl.sourceforge.net/sourceforge/libetpan/$TARBALL" |
erjo@1265 | 12 |
pascal@15472 | 13 DEPENDS="libsasl expat libcurl libdb openssl zlib gcc-lib-base" |
pascal@15472 | 14 |
erjo@1265 | 15 # Rules to configure and make the package. |
erjo@1265 | 16 compile_rules() |
erjo@1265 | 17 { |
erjo@1265 | 18 cd $src |
pascal@5162 | 19 sed -i 's/--iso-8601=minutes/+%Y-%m-%dT%H:%M%Z/' configure |
erjo@1265 | 20 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@1777 | 21 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@1777 | 22 make && |
pascal@15472 | 23 make DESTDIR=$DESTDIR install |
erjo@1265 | 24 } |
erjo@1265 | 25 |
erjo@1265 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1265 | 27 genpkg_rules() |
erjo@1265 | 28 { |
erjo@1265 | 29 mkdir -p $fs/usr/lib |
pascal@15472 | 30 cp -a $install/usr/lib/*.so* $fs/usr/lib |
erjo@1265 | 31 |
erjo@1265 | 32 } |
erjo@1265 | 33 |