wok-current view expat/receipt @ rev 25146
updated portaudio and portaudio-dev (190600_20161030 -> 19.7.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 29 15:26:46 2022 +0100 (2022-06-29) |
parents | 3615521be14e |
children | 81fc994927a6 |
line source
1 # SliTaz package receipt.
3 PACKAGE="expat"
4 VERSION="2.4.6"
5 CATEGORY="x-window"
6 SHORT_DESC="XML parsing C library."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://libexpat.github.io/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/libexpat/libexpat/releases/download/R_${VERSION//./_}/$TARBALL"
14 HOST_ARCH="i486 arm"
16 current_version()
17 {
18 wget -O - $WEB_SITE 2>/dev/null | \
19 sed '/Changes">/!d;s|.*Expat ||;s|</a.*||;s|</*strong>||g;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 ./configure $CONFIGURE_ARGS &&
26 make &&
27 make install DESTDIR=$DESTDIR
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 cook_copy_folders bin
34 cook_copy_files *.so*
36 # expat so.0 symbolic link.
37 cd $fs/usr/lib
38 ln -s libexpat.so.1.*.* libexpat.so.0
39 }