wok view pangox-compat/receipt @ rev 25794
created recipe for exo-lang
author | Hans-G?nter Theisgen |
---|---|
date | Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago) |
parents | 86790a278e70 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="pangox-compat"
4 VERSION="0.0.2"
5 CATEGORY="x-window"
6 SHORT_DESC="X Window System font support for Pango"
7 MAINTAINER="yuripourre@gmail.com"
8 LICENSE="LGPL2"
9 WEB_SITE="https://www.gnome.org/"
10 TARBALL="$PACKAGE-$VERSION.tar.xz"
11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
13 DEPENDS="glib glibc-base libffi pango pcre xorg-libX11"
14 BUILD_DEPENDS="pango-dev glib-dev xorg-libX11-dev"
16 current_version()
17 {
18 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
19 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 ./configure \
26 --prefix=/usr \
27 --sysconfdir=/etc \
28 $CONFIGURE_ARGS &&
29 make &&
30 make install
31 }
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib
36 cp -a $install/etc $fs
37 cp -a $install/usr/lib/*.so* $fs/usr/lib
38 }