diff options
author | davidovski <david@davidovski.xyz> | 2022-05-04 23:52:30 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-05-04 23:52:30 +0100 |
commit | 739c65c54cb0e957df5e9b76f93fb02554e5cac3 (patch) | |
tree | 09ddfa0a342f3ea9de136cb50abdd79821bf1b53 /repo/x11/motif/motif.xibuild | |
parent | 4c585ad54388285500fd18a6aaa516894e0f2c16 (diff) |
moved everything to new file formatting
Diffstat (limited to 'repo/x11/motif/motif.xibuild')
-rw-r--r-- | repo/x11/motif/motif.xibuild | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/repo/x11/motif/motif.xibuild b/repo/x11/motif/motif.xibuild new file mode 100644 index 0000000..a283ca0 --- /dev/null +++ b/repo/x11/motif/motif.xibuild @@ -0,0 +1,46 @@ +#!/bin/sh + +NAME="motif" +DESC="User interface component toolkit" + +MAKEDEPS="make " +DEPS="libx11 libxft libxt libxpm musl " + +PKG_VER=2.3.8 +SOURCE="https://sourceforge.net/projects/motif/files/Motif%20$PKG_VER%20Source%20Code/motif-$PKG_VER.tar.gz/download" + +ADDITIONAL=" +02-fix-format-security.patch +03-no-demos.patch +06-cast-size_t-to-int.patch +07-fix_lintian_reported_manpage_typos.patch +08-fix_hyphen_in_man_pages.patch +09-fix_typo_in_libxm.patch +10-fix_manpage-has-bad-whatis-entry.patch +11-fix_underlinking.patch +13-fix_hardcoded_x11rgb_path.patch +15-link_uil_against_libuil.patch +16-fix-undefined-use-of-sprintf.patch +17-switch-to-system-iswspace.patch +18-option-main.patch" + +#prepare () { +# apply_patches +#} + +build () { + ./configure \ + --prefix=/usr \ + --bindir=/usr/bin \ + --sysconfdir=/etc \ + --disable-jpeg \ + --disable-png \ + --enable-xft \ + --disable-demos \ + --disable-static + make +} + +package () { + make DESTDIR=$PKG_DEST install +} |