wok-next annotate libesmtp/receipt @ rev 11499
rapidsvn: Fix BUILD_DEPENDS
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Wed Dec 21 00:14:45 2011 +0100 (2011-12-21) |
parents | 00b0f1a6f8a1 |
children | 4904e3d374a9 |
rev | line source |
---|---|
erjo@11417 | 1 # SliTaz package receipt. |
erjo@11417 | 2 |
erjo@11417 | 3 PACKAGE="libesmtp" |
erjo@11417 | 4 VERSION="1.0.6" |
erjo@11417 | 5 CATEGORY="network" |
erjo@11417 | 6 SHORT_DESC="A Library for Posting Electronic Mai" |
slaxemulator@11423 | 7 MAINTAINER="erjo@slitaz.org" |
erjo@11417 | 8 WEB_SITE="http://www.stafford.uklinux.net/libesmtp/" |
erjo@11417 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
erjo@11417 | 10 WGET_URL="http://www.stafford.uklinux.net/libesmtp/$TARBALL" |
erjo@11417 | 11 |
erjo@11417 | 12 DEPENDS="libltdl libssl" |
erjo@11417 | 13 BUILD_DEPENDS="openssl-dev" |
erjo@11417 | 14 |
erjo@11417 | 15 # Rules to configure and make the package. |
erjo@11417 | 16 compile_rules() |
erjo@11417 | 17 { |
slaxemulator@11423 | 18 cd $src |
erjo@11417 | 19 ./configure $CONFIGURE_ARGS && make && make install |
erjo@11417 | 20 } |
erjo@11417 | 21 |
erjo@11417 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@11417 | 23 genpkg_rules() |
erjo@11417 | 24 { |
erjo@11417 | 25 mkdir -p $fs/usr |
erjo@11417 | 26 cp -a $install/usr/lib $fs/usr |
erjo@11417 | 27 |
erjo@11417 | 28 find $fs -name "*.*a" -exec rm -f {} \; |
erjo@11417 | 29 } |