wok-undigest annotate libmate/receipt @ rev 1255

copied recipe for ncurses from cooking wok
author Hans-G?nter Theisgen
date Sat Aug 13 10:43:24 2022 +0100 (2022-08-13)
parents 3f059c1d154b
children
rev   line source
pankso@1091 1 # SliTaz package receipt.
pankso@1091 2
pankso@1091 3 PACKAGE="libmate"
pankso@1091 4 VERSION="1.4.0"
pankso@1091 5 CATEGORY="x-window"
pankso@1091 6 SHORT_DESC="MATE Desktop library."
pankso@1091 7 MAINTAINER="pankso@slitaz.org"
pankso@1091 8 WEB_SITE="http://mate-desktop.org"
pankso@1091 9 TARBALL="$PACKAGE-$VERSION.tar.xz"
pankso@1091 10 WGET_URL="http://pub.mate-desktop.org/releases/1.4/$TARBALL"
pankso@1091 11
pankso@1091 12 DEPENDS="glib mate-conf mate-vfs mate-corba libmatecomponent libcanberra"
pankso@1091 13 BUILD_DEPENDS="glib-dev libxml2-dev mate-common mate-conf-dev mate-vfs-dev \
pascal@1099 14 libmatecomponent-dev libcanberra-dev mate-corba-dev libtool gtk-doc"
pankso@1091 15
pankso@1091 16 # Rules to configure and make the package.
pankso@1091 17 compile_rules()
pankso@1091 18 {
pankso@1091 19 cd $src
pankso@1091 20 ./autogen.sh \
pankso@1091 21 --sysconfdir=/etc \
pankso@1091 22 --libexecdir=/usr/lib/libmate \
pankso@1091 23 --disable-esd \
pankso@1091 24 $CONFIGURE_ARGS &&
pankso@1091 25 make && make install
pankso@1091 26 }
pankso@1091 27
pankso@1091 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@1091 29 genpkg_rules()
pankso@1091 30 {
pankso@1091 31 mkdir -p $fs/usr/lib $fs/usr/share
pankso@1091 32 cp -a $install/etc $fs
pankso@1091 33 cp -a $install/usr/bin $fs/usr
pankso@1091 34 # Libs
pankso@1091 35 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@1091 36 cp -a $install/usr/lib/matecomponent $fs/usr/lib
pankso@1091 37 rm -f $fs/usr/lib/*/*/*.*a
pankso@1091 38
pankso@1091 39 cp -a $install/usr/share/mate-* $fs/usr/share
pankso@1091 40 }