wok-next diff ecore/receipt @ rev 20412

slim: change path to Xorg's binary; update all the slim-theme-*
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Jan 07 18:54:12 2018 +0200 (2018-01-07)
parents e0d46e46833e
children c4e53a39395a
line diff
     1.1 --- a/ecore/receipt	Fri Mar 28 23:45:57 2014 +0100
     1.2 +++ b/ecore/receipt	Sun Jan 07 18:54:12 2018 +0200
     1.3 @@ -1,4 +1,4 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="ecore"
     1.8  VERSION="1.7.10"
     1.9 @@ -6,28 +6,35 @@
    1.10  SHORT_DESC="EFL core event and OS abstraction layer"
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12  LICENSE="BSD"
    1.13 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14  WEB_SITE="http://www.enlightenment.org/"
    1.15 -WGET_URL="http://download.enlightenment.org/releases/$TARBALL"
    1.16 -TAGS="e enlightenment efl"
    1.17  HOST_ARCH="i486 arm"
    1.18  
    1.19 -DEPENDS="eina evas libcurl libidn"
    1.20 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.21 +WGET_URL="http://download.enlightenment.org/releases/$TARBALL"
    1.22 +
    1.23  BUILD_DEPENDS="eina-dev evas-dev curl-dev libidn-dev"
    1.24 +SPLIT="ecore-dev"
    1.25  
    1.26 -# Rules to configure and make the package.
    1.27 -compile_rules()
    1.28 -{
    1.29 +compile_rules() {
    1.30  	export CFLAGS="$CFLAGS -fvisibility=hidden"
    1.31  	export LDFLAGS="$LDFLAGS -fvisibility=hidden"
    1.32 -	./configure -disable-doc $CONFIGURE_ARGS &&
    1.33 +
    1.34 +	./configure \
    1.35 +		-disable-doc \
    1.36 +		$CONFIGURE_ARGS &&
    1.37  	make $MAKEFLAGS && make install
    1.38  }
    1.39  
    1.40 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.41 -genpkg_rules()
    1.42 -{
    1.43 -	mkdir -p $fs/usr/lib
    1.44 -	cp -a $install/usr/bin $fs/usr
    1.45 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.46 +genpkg_rules() {
    1.47 +	case $PACKAGE in
    1.48 +		ecore)
    1.49 +			copy @std
    1.50 +			DEPENDS="eina evas libcurl libidn"
    1.51 +			TAGS="e enlightenment efl"
    1.52 +			;;
    1.53 +		ecore-dev)
    1.54 +			copy @dev
    1.55 +			DEPENDS="evas-dev curl-dev pkg-config"
    1.56 +			;;
    1.57 +	esac
    1.58  }