wok-next annotate python-evas/receipt @ rev 20424
linux-dev: move creation to compile_rules(), keep genpkg_rules() for copying/splitting only
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jan 12 17:02:57 2018 +0200 (2018-01-12) |
parents | 16df76e1fc6a |
children |
rev | line source |
---|---|
al@20386 | 1 # SliTaz package receipt v2. |
domcox@14397 | 2 |
domcox@14397 | 3 PACKAGE="python-evas" |
pascal@14706 | 4 VERSION="1.7.0" |
domcox@14397 | 5 CATEGORY="base-system" |
domcox@14688 | 6 SHORT_DESC="Python bindings for Evas" |
domcox@14397 | 7 MAINTAINER="domcox@slitaz.org" |
pascal@14995 | 8 LICENSE="LGPL2.1" |
al@20386 | 9 WEB_SITE="http://www.enlightenment.org/" |
al@20386 | 10 |
domcox@14397 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@14706 | 12 WGET_URL="http://download.enlightenment.org/releases/BINDINGS/python/$TARBALL" |
domcox@14397 | 13 |
al@18077 | 14 BUILD_DEPENDS="evas-dev python-dev python-cython autoconf automake \ |
domcox@14397 | 15 git subversion libtool" |
al@20386 | 16 SPLIT="python-evas-dev" |
domcox@14397 | 17 |
al@20386 | 18 compile_rules() { |
domcox@14397 | 19 ./autogen.sh && |
domcox@14397 | 20 ./configure --prefix=/usr && |
al@18077 | 21 make $MAKEFLAGS all && make install |
domcox@14397 | 22 } |
domcox@14397 | 23 |
al@20386 | 24 genpkg_rules() { |
al@20386 | 25 case $PACKAGE in |
al@20386 | 26 python-evas) |
al@20386 | 27 copy @std |
al@20386 | 28 DEPENDS="evas python" |
al@20386 | 29 TAGS="e enlightenment python" |
al@20386 | 30 ;; |
al@20386 | 31 python-evas-dev) |
al@20386 | 32 copy @dev |
al@20386 | 33 DEPENDS="python-evas evas-dev python-dev" |
al@20386 | 34 ;; |
al@20386 | 35 esac |
domcox@14397 | 36 } |