wok-6.x view gmime/receipt @ rev 11060

pcmciautils: Fixed WGET_URL.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Oct 17 00:27:48 2011 +0000 (2011-10-17)
parents ab563b6b9645
children 32fc82463121
line source
1 # SliTaz package receipt.
3 PACKAGE="gmime"
4 VERSION="2.4.22"
5 CATEGORY="development"
6 SHORT_DESC="library for parsing messages using MIME"
7 MAINTAINER="allan316@gmail.com"
8 DEPENDS="glib zlib"
9 BUILD_DEPENDS="glib-dev zlib-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://spruce.sourceforge.net/gmime"
12 WGET_URL="http://ftp.acc.umu.se/pub/GNOME/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --infodir=/usr/share/info \
21 --mandir=/usr/share/man \
22 --disable-mono \
23 $CONFIGURE_ARGS &&
24 make && make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
33 }
35 # Overlap busybox
36 pre_install()
37 {
38 rm -f $1/usr/bin/uuencode
39 rm -f $1/usr/bin/uudecode
40 }
42 post_remove()
43 {
44 ln -s /bin/busybox /usr/bin/uuencode
45 ln -s /bin/busybox /usr/bin/uudecode
46 }