wok-next annotate gmime/receipt @ rev 11087

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