wok-next annotate libetpan/receipt @ rev 5614
catalyst: fix compile with 2.6.33.4 and WGET_URL
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Thu May 20 10:43:52 2010 -0400 (2010-05-20) |
parents | 8752c40cc534 |
children | 9e8a661f0cfd |
rev | line source |
---|---|
erjo@1265 | 1 # SliTaz package receipt. |
erjo@1265 | 2 |
erjo@1265 | 3 PACKAGE="libetpan" |
pascal@1777 | 4 VERSION="0.57" |
pascal@1423 | 5 CATEGORY="misc" |
erjo@1265 | 6 SHORT_DESC="Mail librayry" |
erjo@1265 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@5003 | 8 DEPENDS="cyrus-sasl 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 |