wok-next annotate pidgin/receipt @ rev 476
Up: slitaz-base-files (1.3.1)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Mar 21 14:29:44 2008 +0100 (2008-03-21) |
parents | d6b1113794bc |
children | bc579f419add |
rev | line source |
---|---|
pankso@41 | 1 # SliTaz package receipt. |
pankso@41 | 2 |
pankso@41 | 3 PACKAGE="pidgin" |
pankso@340 | 4 VERSION="2.4.0" |
pankso@186 | 5 CATEGORY="network" |
pankso@41 | 6 SHORT_DESC="Instant messaging client using GTK+." |
pankso@41 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@41 | 8 DEPENDS="gtk+" |
erjo@180 | 9 BUILD_DEPENDS="gtk+-dev gnutls-dev libgcrypt-dev libgpg-error-dev" |
pankso@41 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@41 | 11 WEB_SITE="http://www.pidgin.im/" |
pankso@41 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pankso@41 | 13 |
pankso@41 | 14 # Rules to configure and make the package. |
pankso@41 | 15 compile_rules() |
pankso@41 | 16 { |
pankso@41 | 17 cd $src |
pankso@186 | 18 MSGFMT=/usr/bin/msgfmt |
pankso@186 | 19 ./configure \ |
pankso@186 | 20 --prefix=/usr \ |
pankso@186 | 21 --infodir=/usr/share/info \ |
pankso@186 | 22 --mandir=/usr/share/man \ |
pankso@186 | 23 --disable-perl \ |
pankso@186 | 24 $CONFIGURE_ARGS |
pankso@41 | 25 make |
pankso@41 | 26 make DESTDIR=$PWD/_pkg install |
pankso@41 | 27 } |
pankso@41 | 28 |
pankso@41 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@41 | 30 genpkg_rules() |
pankso@41 | 31 { |
pankso@186 | 32 mkdir -p $fs/usr/lib $fs/usr/share/pixmaps |
pankso@41 | 33 cp -a $_pkg/usr/bin $fs/usr |
pankso@41 | 34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@41 | 35 cp -a $_pkg/usr/lib/pidgin $fs/usr/lib |
pankso@41 | 36 cp -a $_pkg/usr/lib/purple-2 $fs/usr/lib |
pankso@41 | 37 rm $fs/usr/lib/pidgin/*.la |
pankso@41 | 38 rm $fs/usr/lib/purple-2/*.la |
pankso@41 | 39 cp -a $_pkg/usr/share/purple $fs/usr/share |
pankso@41 | 40 cp -a $_pkg/usr/share/pixmaps/pidgin $fs/usr/share/pixmaps |
pankso@41 | 41 cp -a $_pkg/usr/share/icons/hicolor/24x24/apps/* $fs/usr/share/pixmaps |
pankso@41 | 42 } |
pankso@41 | 43 |