wok-current annotate libglademm/receipt @ rev 24906
updated minidlna (1.2.1 -> 1.3.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 09 14:37:52 2022 +0100 (2022-04-09) |
parents | eeba7ab1dffe |
children | 5926178cd6fa |
rev | line source |
---|---|
gokhlayeh@7030 | 1 # SliTaz package receipt. |
gokhlayeh@7030 | 2 |
gokhlayeh@7030 | 3 PACKAGE="libglademm" |
gokhlayeh@7030 | 4 VERSION="2.6.7" |
gokhlayeh@7030 | 5 CATEGORY="system-tools" |
gokhlayeh@7030 | 6 SHORT_DESC="A C++ wrapper for libglade." |
gokhlayeh@7030 | 7 MAINTAINER="gokhlayeh@slitaz.org" |
pascal@14714 | 8 LICENSE="LGPL2.1" |
slaxemulator@7102 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@20674 | 10 WEB_SITE="https://www.gtkmm.org/en/" |
slaxemulator@7102 | 11 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL" |
gokhlayeh@7030 | 12 |
pascal@14714 | 13 DEPENDS="gtkmm libglade glibmm" |
pascal@14714 | 14 BUILD_DEPENDS="gtkmm-dev libglade-dev cairomm-dev libxml2-dev glibmm-dev" |
pascal@14714 | 15 |
pascal@24111 | 16 current_version() |
pascal@24111 | 17 { |
pascal@24111 | 18 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24111 | 19 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24111 | 20 } |
pascal@24111 | 21 |
gokhlayeh@7030 | 22 # Rules to configure and make the package. |
gokhlayeh@7030 | 23 compile_rules() |
gokhlayeh@7030 | 24 { |
gokhlayeh@7030 | 25 cd $src |
pascal@14739 | 26 sed -i 's|gtkmm/main|gtkmm|' examples/variablesmap/main.cc |
gokhlayeh@7030 | 27 ./configure \ |
gokhlayeh@7030 | 28 --prefix=/usr \ |
gokhlayeh@7030 | 29 --infodir=/usr/share/info \ |
gokhlayeh@7030 | 30 --mandir=/usr/share/man \ |
gokhlayeh@7030 | 31 $CONFIGURE_ARGS && |
pascal@14714 | 32 make $MAKEFLAGS && make DESTDIR=$DESTDIR install |
gokhlayeh@7030 | 33 } |
gokhlayeh@7030 | 34 |
gokhlayeh@7030 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
gokhlayeh@7030 | 36 genpkg_rules() |
gokhlayeh@7030 | 37 { |
gokhlayeh@7030 | 38 mkdir -p $fs/usr/lib |
pascal@14714 | 39 cp -a $install/usr/lib/*.so* $fs/usr/lib |
gokhlayeh@7030 | 40 } |
gokhlayeh@7030 | 41 |