blob: 5266b0adb977e80c7f907bcd70018a0a94dfc3ac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
SECTION = "x11/wm"
DESCRIPTION = "IceWM Window Manager"
LICENSE = "GPL"
DEPENDS = "virtual/libx11 libxext libxcomposite libxfixes libxdamage libxrender libxinerama libxpm xrandr xft mkfontdir-native"
PR = "r0"
SRC_URI = "${SOURCEFORGE_MIRROR}/icewm/icewm-${PV}.tar.gz \
file://makefile.patch;patch=1 \
file://configure.patch;patch=1"
inherit autotools pkgconfig
EXTRA_OECONF = "--disable-i18n --without-imlib --with-xpm --with-gnome-menus \
--x-includes=${STAGING_INCDIR} --x-libraries=${STAGING_LIBDIR} \
--with-mkfontdir=${STAGING_DIR}/${BUILD_SYS}/bin/mkfontdir"
pkg_postinst() {
update-alternatives --install /usr/bin/x-window-manager x-window-manager /usr/bin/icewm-session 10
}
pkg_postrm() {
update-alternatives --remove x-window-manager /usr/bin/icewm-session
}
|