wok-next rev 14361
Add kriss_feed
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 19 13:51:49 2013 +0200 (2013-04-19) |
parents | a11f22da8b31 |
children | 26fa1b18a2ce |
files | enna/receipt kriss_feed/receipt |
line diff
1.1 --- a/enna/receipt Thu Apr 18 13:47:04 2013 +0200 1.2 +++ b/enna/receipt Fri Apr 19 13:51:49 2013 +0200 1.3 @@ -24,6 +24,28 @@ 1.4 cd $src 1.5 sed -i 's/Elm_Genlist_Item /Elm_Genlist_Item_Type /g' src/bin/*.[hc] 1.6 sed -i 's|curl/types|curl/curl|' src/bin/url_utils.c 1.7 + sed -i -e 's/\(elm_genlist_item_insert_after.*\)after/\1NULL, after/' \ 1.8 + -e 's/\(elm_genlist_item_insert_before.*\)before/\1NULL, before/' \ 1.9 + -e 's/elm_genlist_item_bring_in([^)]*/&, ELM_GENLIST_ITEM_SCROLLTO_IN/' \ 1.10 + -e 's/elm_button_label_set/elm_object_text_set/' \ 1.11 + -e 's/elm_label_label_set/elm_object_text_set/' \ 1.12 + -e 's/elm_genlist_item_data_get/elm_object_item_data_get/' \ 1.13 + -e 's/elm_genlist_item_del/elm_object_item_del/' \ 1.14 + -e 's/elm_icon_scale_set/elm_icon_resizable_set/' \ 1.15 + -e 's/elm_box_homogenous_set/elm_box_homogeneous_set/' \ 1.16 + -e 's/elm_toggle_state_set/elm_check_state_set/' \ 1.17 + -e 's/elm_toggle_state_get/elm_check_state_get/' \ 1.18 + -e 's/elm_scroller_content_set/elm_object_content_set/' \ 1.19 + -e 's/elm_genlist_item_object_get/elm_object_item_widget_get/' \ 1.20 + -e 's|elm_scale_set|//&|' -e 's|elm_toggle_add|elm_check_add|' \ 1.21 + -e 's/elm_toggle_states_labels_set(\([^,]*\),\([^,]*\),\([^)]*\)/elm_object_style_set(\1, "toggle"); elm_object_part_text_set(\1, "on", \2); elm_object_part_text_set(\1, "off", \3/' \ 1.22 + -e 's/elm_button_icon_set/elm_object_content_set/' \ 1.23 + -e 's/elm_genlist_horizontal_mode_set/elm_genlist_mode_set/' \ 1.24 + -e 's|elm_genlist_item_middle_bring_in|//&|' \ 1.25 + -e 's/elm_check_icon_set/elm_object_content_set/' \ 1.26 + -e 's/elm_object_focus(\([^)]*\)/elm_object_focus_set(\1, EINA_TRUE/' \ 1.27 + -e 's/elm_check_label_set/elm_object_text_set/' \ 1.28 + src/bin/*.[ch] src/modules/*/*/*.c 1.29 export CFLAGS="-I/usr/include/edje-1 -I/usr/include/eina-1 \ 1.30 -I/usr/include/eina-1/eina -I/usr/include/evas-1 -I/usr/include/ecore-1 \ 1.31 -I/usr/include/elementary-1 -I/usr/include/eet-1 -I/usr/include/efreet-1 \
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/kriss_feed/receipt Fri Apr 19 13:51:49 2013 +0200 2.3 @@ -0,0 +1,26 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="kriss_feed" 2.7 +VERSION="7" 2.8 +CATEGORY="network" 2.9 +SHORT_DESC="A simple and smart (or stupid) feed reader." 2.10 +WEB_SITE="https://github.com/tontof/kriss_feed" 2.11 +MAINTAINER="pascal.bellard@slitaz.org" 2.12 +TARBALL="$PACKAGE-$VERSION.php" 2.13 +WGET_URL="https://github.com/tontof/kriss_feed/raw/c13cfb50ad593884ee6a5b21d9eb80750b71d693/index.php" 2.14 + 2.15 +DEPENDS="php" 2.16 +BUILD_DEPENDS="wget" 2.17 + 2.18 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.19 +genpkg_rules() 2.20 +{ 2.21 + mkdir -p $fs/var/www/$PACKAGE 2.22 + cd $fs/var/www/$PACKAGE 2.23 + cp "$SOURCES_REPOSITORY/$TARBALL" $fs/var/www/$PACKAGE/index.php 2.24 +} 2.25 + 2.26 +post_install() 2.27 +{ 2.28 + chown -R www $1/var/www/$PACKAGE 2.29 +}