wok-next diff eio/receipt @ rev 20449

xcb-proto is obsolete -> xorg-xcb-proto
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Feb 28 14:08:05 2018 +0200 (2018-02-28)
parents 689fcc83daec
children c4e53a39395a
line diff
     1.1 --- a/eio/receipt	Wed Mar 26 09:44:30 2014 +0100
     1.2 +++ b/eio/receipt	Wed Feb 28 14:08:05 2018 +0200
     1.3 @@ -1,23 +1,21 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="eio"
     1.8  VERSION="1.7.10"
     1.9  CATEGORY="base-system"
    1.10 -SHORT_DESC="EFL Async I/O library."
    1.11 +SHORT_DESC="EFL Async I/O library"
    1.12  MAINTAINER="pankso@slitaz.org"
    1.13  LICENSE="LGPL2.1"
    1.14 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    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="ecore"
    1.21 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.22 +WGET_URL="http://download.enlightenment.org/releases/$TARBALL"
    1.23 +
    1.24  BUILD_DEPENDS="ecore-dev"
    1.25 +SPLIT="eio-dev"
    1.26  
    1.27 -# Rules to configure and make the package.
    1.28 -compile_rules()
    1.29 -{
    1.30 +compile_rules() {
    1.31  	CFLAGS="$CFLAGS -fvisibility=hidden"
    1.32  	LDFLAGS="$LDFLAGS -fvisibility=hidden"
    1.33  	export LDFLAGS
    1.34 @@ -26,9 +24,16 @@
    1.35  	make $MAKEFLAGS && make install
    1.36  }
    1.37  
    1.38 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.39 -genpkg_rules()
    1.40 -{
    1.41 -	mkdir -p $fs/usr/lib
    1.42 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.43 +genpkg_rules() {
    1.44 +	case $PACKAGE in
    1.45 +		eio)
    1.46 +			copy @std
    1.47 +			DEPENDS="ecore"
    1.48 +			TAGS="e enlightenment efl"
    1.49 +			;;
    1.50 +		eio-dev)
    1.51 +			copy @dev
    1.52 +			DEPENDS="ecore-dev pkg-config"
    1.53 +			;;
    1.54 +	esac
    1.55  }