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