wok-current annotate isync/receipt @ rev 18951

isync, lessfs: add LDFLAGS (db needs -lpthread)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 07 10:45:25 2016 +0100 (2016-03-07)
parents 36ac89be6985
children 5597c91d561d
rev   line source
pascal@16932 1 # SliTaz package receipt.
pascal@16932 2
pascal@16932 3 PACKAGE="isync"
pascal@16932 4 VERSION="1.1.1"
pascal@16932 5 CATEGORY="network"
pascal@16932 6 SHORT_DESC="IMAP and MailDir mailbox synchronizer"
pascal@16932 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@16932 8 LICENSE="GPL2"
pascal@16932 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@16932 10 WEB_SITE="http://isync.sourceforge.net/"
pascal@16932 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@16932 12 TAGS="email imap"
pascal@16932 13
pascal@16932 14 DEPENDS="db openssl"
pascal@16932 15 BUILD_DEPENDS="db-dev openssl-dev"
pascal@16932 16
pascal@16932 17 # Rules to configure and make the package.
pascal@16932 18 compile_rules()
pascal@16932 19 {
pascal@18951 20 export LDFLAGS="$LDFLAGS -lpthread"
pascal@16932 21 ./configure --prefix=/usr $CONFIGURE_ARGS &&
pascal@16932 22 make && make DESTDIR=$DESTDIR install
pascal@16932 23 }
pascal@16932 24
pascal@16932 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@16932 26 genpkg_rules()
pascal@16932 27 {
pascal@16932 28 mkdir -p $fs/usr
pascal@16932 29 cp -a $install/usr/bin $fs/usr
pascal@16932 30 }