wok-6.x view iksemel/receipt @ rev 24809
created recipes for libmypaint, libmypaint-dev and libmypaint-lang
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 22 16:52:59 2022 +0100 (2022-03-22) |
parents | 38b8e4536e6e |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="iksemel"
4 VERSION="1.4.2"
5 CATEGORY="network"
6 SHORT_DESC="XML parser library for Jabber applications."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://github.com/timothytylee/iksemel-1.4"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/timothytylee/$PACKAGE-${VERSION%.*}/archive/v$VERSION.tar.gz"
14 DEPENDS="gnutls libgcrypt libgpg-error pkg-config zlib"
15 BUILD_DEPENDS="autoconf automake libtool texinfo"
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./autogen.sh &&
27 ./configure \
28 --prefix=/usr \
29 --infodir=/usr/share/info \
30 --mandir=/usr/share/man \
31 $CONFIGURE_ARGS &&
32 make &&
33 make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib
41 cp -a $install/usr/bin $fs/usr
42 cp -a $install/usr/lib/*.so* $fs/usr/lib
43 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
44 }