wok view obconf/receipt @ rev 25678
Patch ghostscript CVE-2023-36664
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Mar 08 14:12:03 2024 +0100 (5 months ago) |
parents | ee53899c6189 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="obconf"
4 VERSION="2.0.4"
5 CATEGORY="x-window"
6 SHORT_DESC="Openbox configuration tool"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 #WEB_SITE="http://openbox.org/wiki/ObConf:About"
11 WEB_SITE="https://github.com/danakj/obconf"
12 #WGET_URL="http://openbox.org/dist/obconf/$TARBALL"
13 WGET_URL="https://github.com/danakj/obconf/archive/refs/tags/release-$VERSION.tar.gz"
14 TAGS="openbox"
15 HOST_ARCH="i486 arm"
17 DEPENDS="openbox gtk+ libglade shared-mime-info xorg-libXdamage \
18 startup-notification slitaz-boot-scripts desktop-file-utils"
19 BUILD_DEPENDS="gtk+-dev libglade-dev openbox-dev gdk-pixbuf-dev \
20 startup-notification-dev xorg-libXft-dev automake"
22 # What is the latest version available today?
23 current_version()
24 {
25 wget -O - http://openbox.org/wiki/Openbox:Download 2>/dev/null | \
26 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
27 }
29 # Rules to configure and make the package.
30 compile_rules()
31 {
32 ./bootstrap
33 msgfmt -o $src/po/ru.gmo $stuff/ru.po
35 ./configure $CONFIGURE_ARGS &&
36 sed -i 's/^mkdir_p = .*/mkdir_p = mkdir -p/' po/Makefile &&
37 make && make install
39 cp -f $stuff/obconf.desktop $install/usr/share/applications
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 mkdir -p $fs/usr/share/obconf
47 cp -a $install/usr/bin $fs/usr
48 cp -a $install/usr/share/obconf/obconf.glade $fs/usr/share/obconf
49 }