wok annotate libcroco/receipt @ rev 25479

created recipes for py3k-llfuse and py3k-secretstorage
author Hans-G?nter Theisgen
date Mon Oct 17 07:20:04 2022 +0100 (2022-10-17)
parents 6831608a1b2a
children
rev   line source
pankso@4094 1 # SliTaz package receipt.
pankso@4094 2
pankso@4094 3 PACKAGE="libcroco"
Hans-G?nter@23019 4 VERSION="0.6.13"
pankso@4094 5 CATEGORY="system-tools"
pankso@4094 6 SHORT_DESC="Cascading Style Sheet (CSS) parsing and manipulation toolkit."
pankso@4094 7 MAINTAINER="pankso@slitaz.org"
pascal@15004 8 LICENSE="LGPL2"
pascal@24894 9 WEB_SITE="https://gitlab.gnome.org/Archive/libcroco"
Hans-G?nter@21165 10
slaxemulator@12372 11 TARBALL="$PACKAGE-$VERSION.tar.xz"
Hans-G?nter@23019 12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
Hans-G?nter@21165 13
Hans-G?nter@21165 14 DEPENDS="glib libxml2 zlib"
Hans-G?nter@21165 15 BUILD_DEPENDS="glib-dev libxml2-dev zlib-dev"
Hans-G?nter@23019 16
pankso@16221 17 HOST_ARCH="i486 arm"
pankso@4094 18
pascal@24111 19 current_version()
pascal@24111 20 {
pascal@24111 21 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
pascal@24111 22 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24111 23 }
pascal@24111 24
pankso@4094 25 # Rules to configure and make the package.
pankso@4094 26 compile_rules()
pankso@4094 27 {
Hans-G?nter@23019 28 ./configure $CONFIGURE_ARGS &&
Hans-G?nter@21165 29 make -j 1 &&
Hans-G?nter@21165 30 make install
pankso@4094 31 }
pankso@4094 32
pankso@4094 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@4094 34 genpkg_rules()
pankso@4094 35 {
Hans-G?nter@21165 36 mkdir -p $fs/usr/lib
Hans-G?nter@21165 37 mkdir -p $fs/usr/bin
Hans-G?nter@21165 38
pascal@14714 39 cp $install/usr/bin/csslint* $fs/usr/bin
pascal@14714 40 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@4094 41 }