wok-next annotate menu-cache/receipt @ rev 15037

turnserver: configure bug workaround
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Aug 12 12:40:20 2013 +0000 (2013-08-12)
parents 5a739c1304f8
children a002e9484225
rev   line source
pankso@2214 1 # SliTaz package receipt.
pankso@2214 2
pankso@2214 3 PACKAGE="menu-cache"
pankso@5400 4 VERSION="0.3.2"
pankso@2214 5 CATEGORY="x-window"
pankso@2214 6 SHORT_DESC="Standard compliant menu library used by LXDE."
pankso@2214 7 MAINTAINER="pankso@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
pankso@2214 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@2214 10 WEB_SITE="http://lxde.sourceforge.net/"
pankso@2214 11 WGET_URL="$SF_MIRROR/lxde/$TARBALL"
pankso@2214 12
pankso@12161 13 DEPENDS="glibc-base glib libgio slitaz-menus"
pankso@12161 14 BUILD_DEPENDS="glib-dev libgio-dev"
pankso@12161 15
pankso@2214 16 # Rules to configure and make the package.
pankso@2214 17 compile_rules()
pankso@2214 18 {
pankso@2214 19 cd $src
pankso@2214 20 ./configure \
pankso@2214 21 --prefix=/usr \
pankso@3825 22 --libexecdir=/usr/lib/menu-cache \
rcx@3624 23 --sysconfdir=/etc \
pankso@2214 24 $CONFIGURE_ARGS &&
pankso@2214 25 make &&
pascal@15000 26 make DESTDIR=$DESTDIR install
pankso@2214 27 }
pankso@2214 28
pankso@2214 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@2214 30 genpkg_rules()
pankso@2214 31 {
pankso@2214 32 mkdir -p $fs/usr/lib
pascal@15000 33 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@15000 34 cp -a $install/usr/lib/menu-cache $fs/usr/lib
pankso@3825 35 strip -s $fs/usr/lib/menu-cache/*
pankso@2214 36 }