66 lines
1.8 KiB
Bash
66 lines
1.8 KiB
Bash
# Template build file for 'lesstif'
|
|
pkgname=lesstif
|
|
version=0.95.2
|
|
revision=3
|
|
build_style=gnu-configure
|
|
short_desc="LGPL'd re-implementation of Motif"
|
|
maintainer="Enno Boland <eb@s01.de>"
|
|
license="LGPL"
|
|
homepage="http://lesstif.sourceforge.net/"
|
|
distfiles="http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${version}.tar.bz2"
|
|
checksum=eb4aa38858c29a4a3bcf605cfe7d91ca41f4522d78d770f69721e6e3a4ecf7e3
|
|
hostmakedepends="pkg-config"
|
|
makedepends="libXt-devel libXp-devel libXft-devel libXrender-devel fontconfig-devel freetype-devel libX11-devel libICE-devel"
|
|
configure_args="--prefix=/usr \
|
|
--mandir=/usr/share/man \
|
|
--docdir=/usr/share/doc \
|
|
--with-xdnd \
|
|
--enable-production \
|
|
--enable-nonstandard-conversions \
|
|
--enable-editres \
|
|
--enable-build-21 \
|
|
--disable-static \
|
|
--disable-debug \
|
|
--x-includes=/usr/include \
|
|
--x-libraries=/usr/lib"
|
|
|
|
post_install() {
|
|
rm -rf $DESTDIR/usr/LessTif
|
|
}
|
|
|
|
lesstif-mwm_package() {
|
|
short_desc="LessTif clone of the Motif Window Manager"
|
|
pkg_install() {
|
|
vmove usr/bin/mwm
|
|
vmove usr/lib/X11/mwm
|
|
vmove usr/share/man/man1/mwm.1
|
|
vmove usr/share/man/man5/mwmrc.5
|
|
vmove usr/lib/X11/app-defaults/Mwm
|
|
}
|
|
}
|
|
|
|
lesstif-xmbind_package() {
|
|
short_desc="configures the virtual key bindings of LessTif applications"
|
|
pkg_install() {
|
|
vmove usr/bin/xmbind
|
|
vmove usr/share/man/man1/xmbind.1
|
|
}
|
|
}
|
|
|
|
lesstif-devel_package() {
|
|
depends="lesstif>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/share/man/man3
|
|
vmove usr/share/man/man1/ltversion.1
|
|
vmove usr/share/man/man1/uil.1
|
|
vmove usr/share/man/man1/lesstif.1
|
|
vmove usr/share/man/man5/VirtualBindings.5
|
|
vmove usr/lib/LessTif
|
|
vmove usr/bin/uil
|
|
vmove usr/bin/mxmkmf
|
|
vmove usr/bin/motif-config
|
|
}
|
|
}
|