wok-6.x annotate geany/receipt @ rev 16581
ARM: add jack-audio-connection-kit, portaudio and espeak
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun May 04 04:42:11 2014 +0200 (2014-05-04) |
parents | c7ce5e74f144 |
children | 5d53e8ccbc8d |
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" |
pankso@16248 | 13 HOST_ARCH="i486 arm" |
pankso@10785 | 14 |
rcx@3689 | 15 DEPENDS="glibc-base glib gcc-lib-base libgio expat zlib libxcb xcb-util \ |
pankso@16248 | 16 gtk+ atk cairo pango pixman libpng fontconfig freetype xorg-libX11 \ |
pankso@16248 | 17 xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdamage \ |
rcx@3689 | 18 xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrender" |
pankso@16248 | 19 BUILD_DEPENDS="glib-dev expat-dev gtk+-dev atk-dev pango-dev cairo-dev \ |
pankso@16248 | 20 pixman-dev libpng-dev freetype-dev fontconfig-dev xorg-libXrender-dev \ |
pankso@16248 | 21 xorg-xproto xorg-renderproto xorg-libX11-dev xorg-kbproto xorg-libXau-dev \ |
pankso@16248 | 22 xorg-libXdmcp-dev libxml2-dev" |
pankso@16248 | 23 |
pankso@16248 | 24 # Handle cross compilation. |
pankso@16248 | 25 case "$ARCH" in |
pankso@16248 | 26 i?86) BUILD_DEPENDS="$BUILD_DEPENDS perl-xml-parser intltool gettext glibc-locale" ;; |
pankso@16248 | 27 arm*) ARCH_ARGS="--disable-vte" ;; |
pankso@16248 | 28 esac |
pankso@43 | 29 |
pankso@43 | 30 # Rules to configure and make the package. |
pankso@43 | 31 compile_rules() |
pankso@43 | 32 { |
pankso@16248 | 33 ./configure \ |
pankso@16248 | 34 ${CONFIGURE_ARGS} ${ARCH_ARGS} && |
pankso@10785 | 35 make && make install |
pankso@43 | 36 } |
pankso@43 | 37 |
pankso@43 | 38 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@43 | 39 genpkg_rules() |
pankso@43 | 40 { |
slaxemulator@11164 | 41 mkdir -p $fs/usr/share/pixmaps $fs/usr/lib/geany |
slaxemulator@13061 | 42 cp -a $install/usr/bin $fs/usr |
slaxemulator@13061 | 43 cp -a $install/usr/lib/geany/*.so $fs/usr/lib/geany |
slaxemulator@13061 | 44 cp -a $install/usr/share/geany $fs/usr/share |
pankso@10785 | 45 cp -a $stuff/filetype_extensions.conf $fs/usr/share/geany |
pankso@670 | 46 rm $fs/usr/share/geany/GPL-2 |
slaxemulator@13061 | 47 cp -a $install/usr/share/icons $fs/usr/share |
pankso@10786 | 48 cd $fs/usr/share |
slaxemulator@13061 | 49 ln -sf /usr/share/icons/hicolor/48x48/apps/geany.png pixmaps/geany.png |
pankso@43 | 50 } |