wok-next diff edje/receipt @ rev 20386

Up aaphoto amsn ecore edbus edje eet eeze efl efreet eina eio elementary embryo emotion ethumb evas jp2a python-elementary python-evas: v2, use libjpeg-turbo and eudev
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Nov 30 12:59:51 2017 +0200 (2017-11-30)
parents 533c0cab6960
children c4e53a39395a
line diff
     1.1 --- a/edje/receipt	Wed Oct 22 03:42:23 2014 +0300
     1.2 +++ b/edje/receipt	Thu Nov 30 12:59:51 2017 +0200
     1.3 @@ -1,23 +1,21 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="edje"
     1.8  VERSION="1.7.10"
     1.9  CATEGORY="x-window"
    1.10 -SHORT_DESC="EFL Abstract GUI layout and animation object library."
    1.11 +SHORT_DESC="EFL Abstract GUI layout and animation object library"
    1.12  MAINTAINER="pankso@slitaz.org"
    1.13  LICENSE="BSD GPL2"
    1.14 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.15  WEB_SITE="http://www.enlightenment.org/"
    1.16 -WGET_URL="http://download.enlightenment.org/releases/$TARBALL"
    1.17 -TAGS="e enlightenment efl"
    1.18  HOST_ARCH="i486 arm"
    1.19  
    1.20 -DEPENDS="eet evas embryo ecore lua"
    1.21 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.22 +WGET_URL="http://download.enlightenment.org/releases/$TARBALL"
    1.23 +
    1.24  BUILD_DEPENDS="eet-dev evas-dev embryo-dev ecore-dev lua-dev"
    1.25 +SPLIT="edje-dev"
    1.26  
    1.27 -# Rules to configure and make the package.
    1.28 -compile_rules()
    1.29 -{
    1.30 +compile_rules() {
    1.31  	# Fix (if installed) libe*.la to use shared libs in sysroot
    1.32  	case "$ARCH" in
    1.33  		arm)
    1.34 @@ -29,17 +27,25 @@
    1.35  	esac
    1.36  	export CFLAGS="$CFLAGS -fvisibility=hidden"
    1.37  	export LDFLAGS="$LDFLAGS -fvisibility=hidden"
    1.38 -	./configure --disable-doc $CONFIGURE_ARGS &&
    1.39 -	make $MAKEFILE && make install
    1.40 +
    1.41 +	./configure \
    1.42 +		--disable-doc \
    1.43 +		$CONFIGURE_ARGS &&
    1.44 +	make $MAKEFILE && make install || return 1
    1.45 +
    1.46 +	chmod 755 $install/usr/bin/*
    1.47  }
    1.48  
    1.49 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.50 -genpkg_rules()
    1.51 -{
    1.52 -	mkdir -p $fs/usr/lib $fs/usr/share
    1.53 -	cp -a $install/usr/bin $fs/usr
    1.54 -	chmod 755 $fs/usr/bin/*
    1.55 -	cp -a $install/usr/share/edje $fs/usr/share
    1.56 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.57 -	cp -a $install/usr/lib/edje $fs/usr/lib
    1.58 +genpkg_rules() {
    1.59 +	case $PACKAGE in
    1.60 +		edje)
    1.61 +			copy @std
    1.62 +			DEPENDS="eet evas embryo ecore lua"
    1.63 +			TAGS="e enlightenment efl"
    1.64 +			;;
    1.65 +		edje-dev)
    1.66 +			copy @dev
    1.67 +			DEPENDS="embryo-dev ecore-dev lua-dev pkg-config"
    1.68 +			;;
    1.69 +	esac
    1.70  }