wok-current annotate libetpan/receipt @ rev 15284
Up xfmpc (0.2.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Sep 26 16:57:10 2013 +0000 (2013-09-26) |
parents | 9e8a661f0cfd |
children | 6c3718ca17b6 |
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" |
erjo@8706 | 8 DEPENDS="libsasl expat libcurl libdb openssl zlib gcc-lib-base" |
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 |
erjo@1265 | 13 # Rules to configure and make the package. |
erjo@1265 | 14 compile_rules() |
erjo@1265 | 15 { |
erjo@1265 | 16 cd $src |
pascal@5162 | 17 sed -i 's/--iso-8601=minutes/+%Y-%m-%dT%H:%M%Z/' configure |
erjo@1265 | 18 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@1777 | 19 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@1777 | 20 make && |
erjo@1265 | 21 make DESTDIR=$PWD/_pkg install |
erjo@1265 | 22 } |
erjo@1265 | 23 |
erjo@1265 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1265 | 25 genpkg_rules() |
erjo@1265 | 26 { |
erjo@1265 | 27 mkdir -p $fs/usr/lib |
erjo@1265 | 28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
erjo@1265 | 29 |
erjo@1265 | 30 } |
erjo@1265 | 31 |