wok-6.x view gamin/receipt @ rev 14636
Xorg marathon, Day 2. xorg-trapproto: fix receipt; xorg-libXau(-dev): up 1.0.8; xorg-xtrans: prettify receipt; xorg-libX11: move X11 locales to locale-*; slitaz-i18n: add function get_x11_locale; locale-el: add receipt; locale-pt_BR locale-ru locale-zh_CN locale-zh_TW: add here X11 locales.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Jun 02 12:09:39 2013 +0000 (2013-06-02) |
parents | 9aaf5b54d2a9 |
children | a00bf44ed23d |
line source
1 # SliTaz package receipt.
3 PACKAGE="gamin"
4 VERSION="0.1.10"
5 CATEGORY="system-tools"
6 SHORT_DESC="File and directory monitoring system."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.gnome.org/~veillard/gamin/"
10 WGET_URL="http://www.gnome.org/~veillard/gamin/sources/$TARBALL"
11 CROSS="error: cannot run test program while cross compiling"
13 DEPENDS="glib"
14 BUILD_DEPENDS="pkg-config glib glib-dev gtk+-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
21 # Don't use deprecated G_CONST_RETURN. Fixes building with newer glib versions.
22 # (gamin v0.1.10)
23 cd server
24 sed 's/^G_CONST_RETURN/const/'\
25 -i gam_node.c gam_node.h gam_subscription.c gam_subscription.h \
26 || return 1
27 cd ..
29 ./configure \
30 --prefix=/usr \
31 --sysconfdir=/etc \
32 --libexecdir=/usr/lib/gamin \
33 --build=$HOST_SYSTEM \
34 --host=$HOST_SYSTEM &&
35 make &&
36 mkdir -p $DESTDIR/usr/include &&
37 make -j1 DESTDIR=$DESTDIR install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr/lib
44 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
45 cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib
46 strip -s $fs/usr/lib/$PACKAGE/*
47 }