wok-6.x annotate lostirc/receipt @ rev 5778
Speedup some builds
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jul 09 20:33:27 2010 +0200 (2010-07-09) |
parents | 843c4b1b4ead |
children | d1768332cee0 |
rev | line source |
---|---|
erjo@450 | 1 # SliTaz package receipt. |
erjo@450 | 2 |
erjo@450 | 3 PACKAGE="lostirc" |
erjo@450 | 4 VERSION="0.4.6" |
erjo@450 | 5 CATEGORY="network" |
erjo@450 | 6 SHORT_DESC="A simple IRC client" |
erjo@784 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@5003 | 8 DEPENDS="glibmm gtkmm libsigc++ xorg-libXdamage xcb-util gcc-lib-base" |
erjo@450 | 9 BUILD_DEPENDS="glibmm-dev libsigc++-dev gtkmm-dev glibmm gtkmm libsigc++" |
erjo@450 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
erjo@450 | 11 WEB_SITE="http://lostirc.sourceforge.net/" |
erjo@450 | 12 WGET_URL="http://dfn.dl.sourceforge.net/sourceforge/lostirc/$TARBALL" |
erjo@450 | 13 |
erjo@450 | 14 # Rules to configure and make the package. |
erjo@450 | 15 compile_rules() |
erjo@450 | 16 { |
erjo@450 | 17 cd $src |
pascal@4261 | 18 busybox patch -p1 -i ../stuff/gcc.u |
pascal@2518 | 19 ./configure --prefix=/usr $CONFIGURE_ARGS && |
pascal@2518 | 20 make && |
erjo@450 | 21 make DESTDIR=$PWD/_pkg install |
erjo@450 | 22 } |
erjo@450 | 23 |
erjo@450 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@450 | 25 genpkg_rules() |
erjo@450 | 26 { |
pankso@1052 | 27 mkdir -p $fs/usr $fs/etc |
erjo@450 | 28 cp -a $_pkg/usr/bin $fs/usr |
pankso@1052 | 29 cp -a stuff/skel $fs/etc |
erjo@450 | 30 } |
erjo@450 | 31 |