wok-next annotate gamin/receipt @ rev 21724

busybox: update configs
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 11:04:25 2020 +0000 (2020-09-01)
parents f48456621a9d
children
rev   line source
al@20456 1 # SliTaz package receipt v2.
pankso@255 2
pankso@255 3 PACKAGE="gamin"
pankso@3344 4 VERSION="0.1.10"
pankso@271 5 CATEGORY="system-tools"
al@20456 6 SHORT_DESC="File and directory monitoring system"
al@21020 7 MAINTAINER="devel@slitaz.org"
pascal@15004 8 LICENSE="LGPL2"
al@21020 9 WEB_SITE="https://people.gnome.org/~veillard/gamin/"
al@20456 10
pankso@255 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@255 12 WGET_URL="http://www.gnome.org/~veillard/gamin/sources/$TARBALL"
pankso@16276 13
al@21017 14 BUILD_DEPENDS="glib-dev gtk2-dev"
al@21020 15 SPLIT="$PACKAGE-dev"
pankso@255 16
al@20456 17 compile_rules() {
gokhlayeh@11492 18 # Don't use deprecated G_CONST_RETURN. Fixes building with newer glib versions.
gokhlayeh@11492 19 # (gamin v0.1.10)
gokhlayeh@11492 20 cd server
gokhlayeh@11492 21 sed 's/^G_CONST_RETURN/const/'\
gokhlayeh@11492 22 -i gam_node.c gam_node.h gam_subscription.c gam_subscription.h \
gokhlayeh@11492 23 || return 1
gokhlayeh@11492 24 cd ..
al@20456 25
pankso@16276 26 export have_abstract_sockets=yes
pankso@16276 27 export ac_cv_have_abstract_sockets=yes
al@20456 28
pankso@255 29 ./configure \
pankso@255 30 --libexecdir=/usr/lib/gamin \
pankso@16276 31 $CONFIGURE_ARGS &&
al@20570 32 fix libtool &&
pankso@3368 33 make &&
al@21020 34 mkdir -p $install/usr/include &&
al@21020 35 make -j1 DESTDIR=$install install
pankso@255 36 }
pankso@255 37
al@20456 38 genpkg_rules() {
al@20456 39 case $PACKAGE in
al@20456 40 gamin)
al@20456 41 copy @std
al@20456 42 DEPENDS="glib"
al@20456 43 ;;
al@20456 44 *-dev)
al@20456 45 copy @dev
al@20456 46 ;;
al@20456 47 esac
pankso@255 48 }