Changeset 2239

Show
Ignore:
Timestamp:
07/01/05 18:24:29 (3 years ago)
Author:
asterix
Message:

new debian package builder

Location:
trunk/debian
Files:
3 added
1 removed
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/debian/control

    r2111 r2239  
    33Priority: optional 
    44Maintainer: Yann Le Boulanger <asterix@lagaule.org> 
    5 Standards-Version: 3.6.1.1 
    6 Build-Depends: debmake, python-dev, libgtk2.0-dev, python-gtk2-dev, libgtkspell-dev, gettext 
     5Build-Depends: debhelper (>= 4.0.0), python-dev, libgtk2.0-dev, python-gtk2-dev, libgtkspell-dev, gettext 
     6Standards-Version: 3.6.1 
    77 
    88Package: gajim 
    99Architecture: any 
    10 Section: net 
    11 Priority: optional 
    12 Depends: python (>= 2.3), python-glade2 (>= 2.4.0), python-gtk2 (>= 2.4.0) 
     10Depends: ${shlibs:Depends}, python (>= 2.3), python-glade2 (>= 2.4.0), python-gtk2 (>= 2.4.0) 
    1311Suggests: python-gnupginterface 
    1412Description: Jabber client written in PyGTK 
    15  Gajim is a jabber client written in python, with a GTK frontend. 
     13 Gajim is a jabber client written in python, with a GTK frontend. It supports 
     14 tabbed chat, MUC, systray icon, TLS, GPG, SSL, multiple accounts, ... 
  • trunk/debian/rules

    r2111 r2239  
    11#!/usr/bin/make -f 
    2 # Made with the aid of debmake, by Christoph Lameter, 
    3 # based on the sample debian/rules file for GNU hello by Ian Jackson. 
     2include /usr/share/cdbs/1/rules/debhelper.mk 
     3include /usr/share/cdbs/1/class/makefile.mk 
    44 
    5 package=gajim 
     5PYTHONVER = `python -c 'import sys; print sys.version[:3]'` 
     6CFLAGS = `pkg-config --cflags gtk+-2.0 pygtk-2.0` -fPIC -I/usr/include/python$(PYTHONVER) -I. 
     7LDFLAGS = `pkg-config --libs gtk+-2.0 pygtk-2.0` 
    68 
    7 build: build-stamp 
    8 build-stamp: 
    9         $(checkdir) 
    10          
    11         make 
    12         touch build 
     9DEB_MAKE_CLEAN_TARGET    := clean 
     10DEB_MAKE_BUILD_TARGET    := all 
     11DEB_MAKE_INSTALL_TARGET  := install PREFIX=/usr DESTDIR=$(DEB_DESTDIR) 
    1312 
    14 clean: 
    15         $(checkdir) 
    16         rm -f build 
    17         make clean 
    18         rm -f `find . -name "*~"` 
    19         rm -rf debian/tmp debian/files* core debian/substvars files 
     13DEB_MAKE_INSTALL_TARGET =  install PREFIX=/usr DESTDIR=$(DEB_DESTDIR) 
    2014 
    21 install: install-stamp 
    22 install-stamp: build-stamp 
    23         $(checkdir) 
    24         rm -rf debian/tmp 
    25         install -d debian/tmp 
    26         cd debian/tmp && install -d `cat ../dirs` 
    27         make install PREFIX=/usr DESTDIR=`pwd`/debian/tmp 
     15clean/gajim:: 
     16 
     17binary-install: 
    2818        rm debian/tmp/usr/share/gajim/src/common/GnuPGInterface.py 
    29  
    30 binary-indep: checkroot build 
    31         $(checkdir) 
    32  
    33 binary-arch: checkroot build install 
    34         $(checkdir) 
    35         debstd 
    36         dpkg-gencontrol -isp 
    37         chown -R root:root debian/tmp 
    38         chmod -R go=rX debian/tmp 
    39         dpkg --build debian/tmp .. 
    40  
    41 define checkdir 
    42         test -f debian/rules 
    43 endef 
    44  
    45 binary: binary-indep binary-arch 
    46  
    47 checkroot: 
    48         $(checkdir) 
    49         test root = "`whoami`" 
    50  
    51 .PHONY: binary binary-arch binary-indep clean checkroot 
     19        dh_python -pgajim /usr/share/gajim/src