wok-6.x annotate gmime/receipt @ rev 12248
Up: tazweb (1.6.2)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Apr 09 18:39:47 2012 +0200 (2012-04-09) |
parents | 21b80c68de86 |
children | 8fcec0f6b5be |
rev | line source |
---|---|
allan316@3202 | 1 # SliTaz package receipt. |
allan316@3202 | 2 |
allan316@3202 | 3 PACKAGE="gmime" |
slaxemulator@11162 | 4 VERSION="2.4.26" |
allan316@3202 | 5 CATEGORY="development" |
allan316@3202 | 6 SHORT_DESC="library for parsing messages using MIME" |
allan316@3202 | 7 MAINTAINER="allan316@gmail.com" |
slaxemulator@11162 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
slaxemulator@11162 | 9 WEB_SITE="http://spruce.sourceforge.net/gmime" |
slaxemulator@11162 | 10 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" |
slaxemulator@11162 | 11 |
pascal@5001 | 12 DEPENDS="glib zlib" |
pascal@5001 | 13 BUILD_DEPENDS="glib-dev zlib-dev" |
allan316@3202 | 14 |
allan316@3202 | 15 # Rules to configure and make the package. |
allan316@3202 | 16 compile_rules() |
allan316@3202 | 17 { |
allan316@3202 | 18 cd $src |
allan316@3202 | 19 ./configure \ |
pascal@5037 | 20 --disable-mono \ |
slaxemulator@11162 | 21 --build=$HOST_SYSTEM \ |
slaxemulator@11162 | 22 --host=$HOST_SYSTEM && |
slaxemulator@11162 | 23 make && make DESTDIR=$DESTDIR install |
allan316@3202 | 24 } |
allan316@3202 | 25 |
allan316@3202 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@3202 | 27 genpkg_rules() |
allan316@3202 | 28 { |
slaxemulator@8284 | 29 mkdir -p $fs/usr/lib |
allan316@3202 | 30 cp -a $_pkg/usr/bin $fs/usr |
slaxemulator@8284 | 31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
allan316@3202 | 32 } |
allan316@3202 | 33 |
pascal@8876 | 34 # Overlap busybox |
pascal@8876 | 35 pre_install() |
pascal@8876 | 36 { |
pascal@8876 | 37 rm -f $1/usr/bin/uuencode |
pascal@8876 | 38 rm -f $1/usr/bin/uudecode |
pascal@8876 | 39 } |
pascal@8876 | 40 |
pascal@8876 | 41 post_remove() |
pascal@8876 | 42 { |
slaxemulator@11162 | 43 ln -s /bin/busybox $1/usr/bin/uuencode |
slaxemulator@11162 | 44 ln -s /bin/busybox $1/usr/bin/uudecode |
pascal@8876 | 45 } |