wok-4.x annotate lostirc/receipt @ rev 4261
lostirc: fix build with gcc-4.x
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 25 12:08:50 2009 +0200 (2009-09-25) |
parents | 583bdd691510 |
children | 8752c40cc534 |
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@2845 | 8 DEPENDS="glibmm gtkmm libsigc++ xorg-libXdamage xcb-util" |
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 |