wok-6.x view gmime/receipt @ rev 11533
gnustep-base: fix build
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sun Dec 25 03:10:34 2011 +0100 (2011-12-25) |
parents | 21b80c68de86 |
children | 8fcec0f6b5be |
line source
1 # SliTaz package receipt.
3 PACKAGE="gmime"
4 VERSION="2.4.26"
5 CATEGORY="development"
6 SHORT_DESC="library for parsing messages using MIME"
7 MAINTAINER="allan316@gmail.com"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://spruce.sourceforge.net/gmime"
10 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
12 DEPENDS="glib zlib"
13 BUILD_DEPENDS="glib-dev zlib-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --disable-mono \
21 --build=$HOST_SYSTEM \
22 --host=$HOST_SYSTEM &&
23 make && make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 cp -a $_pkg/usr/bin $fs/usr
31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
32 }
34 # Overlap busybox
35 pre_install()
36 {
37 rm -f $1/usr/bin/uuencode
38 rm -f $1/usr/bin/uudecode
39 }
41 post_remove()
42 {
43 ln -s /bin/busybox $1/usr/bin/uuencode
44 ln -s /bin/busybox $1/usr/bin/uudecode
45 }