wok-4.x diff c-client/receipt @ rev 2390

mgetty: fix chroot in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Mar 10 08:59:55 2009 +0000 (2009-03-10)
parents
children f2968cc8e5fe
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/c-client/receipt	Tue Mar 10 08:59:55 2009 +0000
     1.3 @@ -0,0 +1,34 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="c-client"
     1.7 +VERSION="2007b"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="mail store formats support."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +TARBALL="$PACKAGE.tar.Z"
    1.12 +SOURCE="imap"
    1.13 +WEB_SITE="http://www.washington.edu/imap/"
    1.14 +WGET_URL="ftp://ftp.cac.washington.edu/mail/$TARBALL"
    1.15 +BUILD_DEPENDS="openssl-dev"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	cd $src
    1.21 +	sed -i 's|SSLCFLAGS)|SSLCFLAGS) -I/usr/include/openssl|' \
    1.22 +		src/osdep/unix/Makefile
    1.23 +	make slx
    1.24 +	mkdir -p _pkg/usr/include/c-client _pkg/usr/lib
    1.25 +	cp -a src/c-client/*.h _pkg/usr/include/c-client
    1.26 +	cp c-client/linkage.h _pkg/usr/include/c-client
    1.27 +	cp c-client/osdep.h _pkg/usr/include/c-client
    1.28 +	cp c-client/env_unix.h _pkg/usr/include/c-client
    1.29 +	cp c-client/c-client.a _pkg/usr/lib
    1.30 +}
    1.31 +
    1.32 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.33 +genpkg_rules()
    1.34 +{
    1.35 +	cp -a $_pkg/* $fs
    1.36 +}
    1.37 +