wok-current annotate pidgin/receipt @ rev 75
UP : pidgin (2.3.1) + BUILD_DEPENDS
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Dec 28 13:26:21 2007 +0100 (2007-12-28) |
parents | 6805779fbeec |
children | 1b129a8fd309 |
rev | line source |
---|---|
pankso@41 | 1 # SliTaz package receipt. |
pankso@41 | 2 |
pankso@41 | 3 PACKAGE="pidgin" |
pankso@75 | 4 VERSION="2.3.1" |
pankso@41 | 5 CATEGORY="extra" |
pankso@41 | 6 SHORT_DESC="Instant messaging client using GTK+." |
pankso@41 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@41 | 8 DEPENDS="gtk+" |
pankso@75 | 9 BUILD_DEPENDS="gtk-dev openssl-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@41 | 18 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pankso@41 | 19 --mandir=/usr/share/man --disable-perl $CONFIGURE_ARGS |
pankso@41 | 20 make |
pankso@41 | 21 make DESTDIR=$PWD/_pkg install |
pankso@41 | 22 } |
pankso@41 | 23 |
pankso@41 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@41 | 25 genpkg_rules() |
pankso@41 | 26 { |
pankso@41 | 27 mkdir -p $fs/usr/lib $fs/usr/share/locale $fs/usr/share/pixmaps |
pankso@41 | 28 cp -a $_pkg/usr/bin $fs/usr |
pankso@41 | 29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@41 | 30 cp -a $_pkg/usr/lib/pidgin $fs/usr/lib |
pankso@41 | 31 cp -a $_pkg/usr/lib/purple-2 $fs/usr/lib |
pankso@41 | 32 rm $fs/usr/lib/pidgin/*.la |
pankso@41 | 33 rm $fs/usr/lib/purple-2/*.la |
pankso@41 | 34 cp -a $_pkg/usr/share/purple $fs/usr/share |
pankso@41 | 35 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale |
pankso@41 | 36 strip -s $fs/usr/bin/* |
pankso@41 | 37 strip --strip-unneeded $fs/usr/lib/*.so* |
pankso@41 | 38 strip --strip-unneeded $fs/usr/lib/pidgin/* |
pankso@41 | 39 strip --strip-unneeded $fs/usr/lib/purple-2/* |
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 |