wok-6.x annotate geany/receipt @ rev 20325

typo
author Erkan Yilmaz <erkan@slitaz.org>
date Tue May 22 07:22:16 2018 +0000 (2018-05-22)
parents 128aae84d74c
children af8d823a3077
rev   line source
pankso@43 1 # SliTaz package receipt.
pankso@43 2
pankso@43 3 PACKAGE="geany"
erjo@15703 4 VERSION="1.23.1"
pankso@188 5 CATEGORY="development"
pankso@43 6 SHORT_DESC="Small and fast IDE using GTK+ toolkit."
pankso@43 7 MAINTAINER="pankso@slitaz.org"
pascal@15002 8 LICENSE="GPL2"
pankso@10785 9 SUGGESTED="geany-plugins vte"
pankso@10785 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@10785 11 WEB_SITE="http://geany.uvena.de/"
pankso@10785 12 WGET_URL="http://download.geany.org/$TARBALL"
al@17501 13 TAGS="text-editor"
pankso@16248 14 HOST_ARCH="i486 arm"
pankso@10785 15
rcx@3689 16 DEPENDS="glibc-base glib gcc-lib-base libgio expat zlib libxcb xcb-util \
pankso@16248 17 gtk+ atk cairo pango pixman libpng fontconfig freetype xorg-libX11 \
pankso@16248 18 xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdamage \
rcx@3689 19 xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrender"
pankso@16248 20 BUILD_DEPENDS="glib-dev expat-dev gtk+-dev atk-dev pango-dev cairo-dev \
pankso@16248 21 pixman-dev libpng-dev freetype-dev fontconfig-dev xorg-libXrender-dev \
pankso@16248 22 xorg-xproto xorg-renderproto xorg-libX11-dev xorg-kbproto xorg-libXau-dev \
pankso@16248 23 xorg-libXdmcp-dev libxml2-dev"
pankso@16248 24
pankso@16248 25 # Handle cross compilation.
pankso@16248 26 case "$ARCH" in
pankso@16248 27 i?86) BUILD_DEPENDS="$BUILD_DEPENDS perl-xml-parser intltool gettext glibc-locale" ;;
pankso@16248 28 arm*) ARCH_ARGS="--disable-vte" ;;
pankso@16248 29 esac
pankso@43 30
pankso@43 31 # Rules to configure and make the package.
pankso@43 32 compile_rules()
pankso@43 33 {
pankso@16248 34 ./configure \
pankso@16248 35 ${CONFIGURE_ARGS} ${ARCH_ARGS} &&
pankso@10785 36 make && make install
pankso@43 37 }
pankso@43 38
pankso@43 39 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@43 40 genpkg_rules()
pankso@43 41 {
slaxemulator@11164 42 mkdir -p $fs/usr/share/pixmaps $fs/usr/lib/geany
slaxemulator@13061 43 cp -a $install/usr/bin $fs/usr
slaxemulator@13061 44 cp -a $install/usr/lib/geany/*.so $fs/usr/lib/geany
slaxemulator@13061 45 cp -a $install/usr/share/geany $fs/usr/share
pankso@10785 46 cp -a $stuff/filetype_extensions.conf $fs/usr/share/geany
pankso@670 47 rm $fs/usr/share/geany/GPL-2
slaxemulator@13061 48 cp -a $install/usr/share/icons $fs/usr/share
pankso@10786 49 cd $fs/usr/share
slaxemulator@13061 50 ln -sf /usr/share/icons/hicolor/48x48/apps/geany.png pixmaps/geany.png
pankso@43 51 }