wok-current diff libhandy/receipt @ rev 25653

lzo needed from fsarchiver
author Hans-G?nter Theisgen
date Tue Feb 13 07:22:29 2024 +0100 (6 months ago)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libhandy/receipt	Tue Feb 13 07:22:29 2024 +0100
     1.3 @@ -0,0 +1,38 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="libhandy"
     1.7 +VERSION="1.6.4"
     1.8 +CATEGORY="libs"
     1.9 +SHORT_DESC="Library with GTK widgets for mobile phones"
    1.10 +MAINTAINER="maintainer@slitaz.org"
    1.11 +LICENSE="LGPL2.1"
    1.12 +WEB_SITE="https://gitlab.gnome.org/GNOME/libhandy"
    1.13 +
    1.14 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.15 +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
    1.16 +
    1.17 +BUILD_DEPENDS="gtk+3-dev gobject-introspection-dev \
    1.18 +vala meson"
    1.19 +
    1.20 +# Rules to configure and make the package.
    1.21 +compile_rules()
    1.22 +{
    1.23 +        meson _build \
    1.24 +            --prefix=/usr \
    1.25 +            --libdir=lib \
    1.26 +            --bindir=/usr/bin \
    1.27 +            --sbindir=/usr/sbin \
    1.28 +            --buildtype=release \
    1.29 +	-Dtests=false \
    1.30 +	-Dexamples=false
    1.31 +
    1.32 +        ninja -C _build build
    1.33 +        DESTDIR=$install ninja -C _build install
    1.34 +}
    1.35 +
    1.36 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.37 +genpkg_rules()       
    1.38 +{                          
    1.39 +        mkdir -p $fs/usr/lib
    1.40 +        cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.41 +}