wok-current diff lxpolkit/receipt @ rev 14381

re-alpine: build workaround
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Apr 22 22:23:56 2013 +0200 (2013-04-22)
parents
children 2b9f96603415
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/lxpolkit/receipt	Mon Apr 22 22:23:56 2013 +0200
     1.3 @@ -0,0 +1,33 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="lxpolkit"
     1.7 +VERSION="0.1.0"
     1.8 +CATEGORY="x-window"
     1.9 +SHORT_DESC="LXDE PolKit manager."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.12 +WGET_URL="$SF_MIRROR/lxde/LXPolkit/$TARBALL"
    1.13 +WEB_SITE="http://lxde.org"
    1.14 +
    1.15 +DEPENDS="gtk+ polkit"
    1.16 +BUILD_DEPENDS="gtk+-dev polkit-dev"
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +compile_rules()
    1.20 +{
    1.21 +	cd $src
    1.22 +	./configure \
    1.23 +		--sysconfdir=/etc \
    1.24 +		--libexecdir=/usr/lib/lxde \
    1.25 +		$CONFIGURE_ARGS &&
    1.26 +	make && make install
    1.27 +}
    1.28 +
    1.29 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.30 +genpkg_rules()
    1.31 +{
    1.32 +    mkdir -p $fs/usr/share
    1.33 +    cp -a $install/etc $fs
    1.34 +    cp -a $install/usr/lib $fs/usr
    1.35 +    cp -a $install/usr/share/$PACKAGE $fs/usr/share
    1.36 +}