wok annotate lostirc/receipt @ rev 12759
epdfview: hack compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat May 12 11:15:54 2012 +0200 (2012-05-12) |
parents | af9a1b47948c |
children | e2f2cc28884f |
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" |
erjo@450 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
erjo@450 | 9 WEB_SITE="http://lostirc.sourceforge.net/" |
erjo@450 | 10 WGET_URL="http://dfn.dl.sourceforge.net/sourceforge/lostirc/$TARBALL" |
erjo@450 | 11 |
pankso@10652 | 12 DEPENDS="glibmm cairomm gtkmm libsigc++" |
pankso@10652 | 13 BUILD_DEPENDS="glibmm-dev cairomm-dev gtkmm-dev libsigc++-dev" |
pankso@9973 | 14 |
erjo@450 | 15 # Rules to configure and make the package. |
erjo@450 | 16 compile_rules() |
erjo@450 | 17 { |
erjo@450 | 18 cd $src |
slaxemulator@9700 | 19 busybox patch -p1 -i $stuff/gcc.u |
pascal@2518 | 20 ./configure --prefix=/usr $CONFIGURE_ARGS && |
pascal@2518 | 21 make && |
erjo@450 | 22 make DESTDIR=$PWD/_pkg install |
erjo@450 | 23 } |
erjo@450 | 24 |
erjo@450 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@450 | 26 genpkg_rules() |
erjo@450 | 27 { |
pankso@11641 | 28 mkdir -p $fs/usr $fs/etc |
erjo@450 | 29 cp -a $_pkg/usr/bin $fs/usr |
pascal@11623 | 30 cp -a $stuff/skel $fs/etc |
erjo@450 | 31 } |
erjo@450 | 32 |