wok-next annotate pangox-compat/receipt @ rev 20464

Combine receipts (final)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Mar 07 19:43:44 2018 +0200 (2018-03-07)
parents fc2aee218690
children 757d032c55c7
rev   line source
al@20464 1 # SliTaz package receipt v2.
yuripourre@16905 2
yuripourre@16905 3 PACKAGE="pangox-compat"
yuripourre@16905 4 VERSION="0.0.2"
yuripourre@16905 5 CATEGORY="x-window"
al@16906 6 SHORT_DESC="X Window System font support for Pango"
yuripourre@16905 7 MAINTAINER="yuripourre@gmail.com"
al@16906 8 LICENSE="LGPL2"
al@16906 9 WEB_SITE="http://www.gnome.org/"
al@20464 10
yuripourre@16905 11 TARBALL="$PACKAGE-$VERSION.tar.xz"
al@16906 12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
yuripourre@16905 13
al@16906 14 BUILD_DEPENDS="pango-dev glib-dev xorg-libX11-dev"
al@20464 15 SPLIT="pangox-compat-dev"
yuripourre@16905 16
al@20464 17 compile_rules() {
yuripourre@16905 18 ./configure \
yuripourre@16905 19 --prefix=/usr \
al@16906 20 --sysconfdir=/etc \
yuripourre@16905 21 $CONFIGURE_ARGS &&
yuripourre@16905 22 make &&
al@16906 23 make install
yuripourre@16905 24 }
yuripourre@16905 25
al@20464 26 genpkg_rules() {
al@20464 27 case $PACKAGE in
al@20464 28 pangox-compat)
al@20464 29 mkdir -p $fs/usr/lib
al@20464 30 cp -a $install/etc $fs
al@20464 31 cp -a $install/usr/lib/*.so* $fs/usr/lib
al@20464 32 DEPENDS="glib glibc-base libffi pango pcre xorg-libX11"
al@20464 33 ;;
al@20464 34 *-dev)
al@20464 35 mkdir -p $fs/usr/lib
al@20464 36 cp -a $install/usr/include $fs/usr
al@20464 37 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
al@20464 38 cp -a $install/usr/lib/*.*a $fs/usr/lib
al@20464 39 DEPENDS="glib-dev libffi-dev xorg-libxcb-dev pango-dev \
al@20464 40 pangox-compat pcre-dev xorg-libX11-dev xorg-libXau-dev \
al@20464 41 xorg-libXdmcp-dev"
al@20464 42 ;;
al@20464 43 esac
yuripourre@16905 44 }