wok annotate gamin/receipt @ rev 22863

updated gnupg (2.2.8 -> 2.2.19)
author Hans-G?nter Theisgen
date Fri Feb 21 07:27:36 2020 +0100 (2020-02-21)
parents 8139105f9285
children a6b997a82f39
rev   line source
pankso@255 1 # SliTaz package receipt.
pankso@255 2
pankso@255 3 PACKAGE="gamin"
pankso@3344 4 VERSION="0.1.10"
pankso@271 5 CATEGORY="system-tools"
pankso@255 6 SHORT_DESC="File and directory monitoring system."
pankso@255 7 MAINTAINER="pankso@slitaz.org"
pascal@15004 8 LICENSE="LGPL2"
pankso@255 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@20421 10 WEB_SITE="https://www.gnome.org/~veillard/gamin/"
pascal@20421 11 WGET_URL="https://www.gnome.org/~veillard/gamin/sources/$TARBALL"
pankso@16276 12
pankso@16276 13 #HOST_ARCH="i486 arm"
pankso@16276 14 CROSS_BUGS="error: cannot run test program while cross compiling"
pankso@10388 15
pankso@10388 16 DEPENDS="glib"
pankso@10388 17 BUILD_DEPENDS="pkg-config glib glib-dev gtk+-dev"
pankso@255 18
pankso@255 19 # Rules to configure and make the package.
pankso@255 20 compile_rules()
pankso@255 21 {
gokhlayeh@11492 22 # Don't use deprecated G_CONST_RETURN. Fixes building with newer glib versions.
gokhlayeh@11492 23 # (gamin v0.1.10)
gokhlayeh@11492 24 cd server
gokhlayeh@11492 25 sed 's/^G_CONST_RETURN/const/'\
gokhlayeh@11492 26 -i gam_node.c gam_node.h gam_subscription.c gam_subscription.h \
gokhlayeh@11492 27 || return 1
gokhlayeh@11492 28 cd ..
pankso@16276 29
pankso@16276 30 export have_abstract_sockets=yes
pankso@16276 31 export ac_cv_have_abstract_sockets=yes
pankso@16276 32
pankso@255 33 ./configure \
pankso@255 34 --prefix=/usr \
pankso@255 35 --sysconfdir=/etc \
pankso@255 36 --libexecdir=/usr/lib/gamin \
pankso@16276 37 $CONFIGURE_ARGS &&
pankso@3368 38 make &&
pankso@10388 39 mkdir -p $DESTDIR/usr/include &&
pankso@10388 40 make -j1 DESTDIR=$DESTDIR install
pankso@255 41 }
pankso@255 42
pankso@255 43 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@255 44 genpkg_rules()
pankso@255 45 {
pankso@255 46 mkdir -p $fs/usr/lib
pascal@15004 47 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@15004 48 cp -a $install/usr/lib/$PACKAGE $fs/usr/lib
pankso@2833 49 strip -s $fs/usr/lib/$PACKAGE/*
pankso@255 50 }