wok-stable view mousepad/receipt @ rev 11395

Compat: re-implement tazwok specific code into linux receipt.
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sat Dec 10 06:08:28 2011 +0100 (2011-12-10)
parents 2841b4c72358
children 810c8b466cc1
line source
1 # SliTaz package receipt.
3 PACKAGE="mousepad"
4 VERSION="0.2.16"
5 CATEGORY="x-window"
6 SHORT_DESC="Xfce Text Editor"
7 MAINTAINER="erjo@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://www.xfce.org/"
10 WGET_URL="http://archive.xfce.org/src/apps/$PACKAGE/${VERSION%.*}/$TARBALL"
12 DEPENDS="libxfcegui4 libxfce4util startup-notification xorg-libXdamage"
13 BUILD_DEPENDS="libxfcegui4-dev libxfce4util-dev intltool startup-notification-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure --prefix=/usr \
20 --enable-debug=no \
21 --mandir=/usr/share/man $CONFIGURE_ARGS && \
22 make && make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/share/locale
30 cp -a $_pkg/usr/bin $fs/usr
31 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
32 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
33 cp -a $_pkg/usr/share/applications $fs/usr/share
34 }