wok-6.x annotate libetpan/receipt @ rev 2053
slim: backup config if exist (mainly keep screen config when upgrade)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Jan 17 23:08:54 2009 +0100 (2009-01-17) |
parents | 03a799424aaa |
children | 2ddc861c6696 |
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" |
erjo@1265 | 8 DEPENDS="" |
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 |
erjo@1265 | 17 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@1777 | 18 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@1777 | 19 make && |
erjo@1265 | 20 make DESTDIR=$PWD/_pkg install |
erjo@1265 | 21 } |
erjo@1265 | 22 |
erjo@1265 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1265 | 24 genpkg_rules() |
erjo@1265 | 25 { |
erjo@1265 | 26 mkdir -p $fs/usr/lib |
erjo@1265 | 27 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
erjo@1265 | 28 |
erjo@1265 | 29 } |
erjo@1265 | 30 |