| 1 | package=libSM |
| 2 | $(package)_version=1.2.2 |
| 3 | $(package)_download_path=https://xorg.freedesktop.org/releases/individual/lib/ |
| 4 | $(package)_file_name=$(package)-$($(package)_version).tar.bz2 |
| 5 | $(package)_sha256_hash=0baca8c9f5d934450a70896c4ad38d06475521255ca63b717a6510fdb6e287bd |
| 6 | $(package)_dependencies=xtrans xproto libICE |
| 7 | |
| 8 | define $(package)_set_vars |
| 9 | $(package)_config_opts=--without-libuuid --without-xsltproc --disable-docs --disable-static |
| 10 | $(package)_config_opts_linux=--with-pic |
| 11 | endef |
| 12 | |
| 13 | define $(package)_config_cmds |
| 14 | $($(package)_autoconf) |
| 15 | endef |
| 16 | |
| 17 | define $(package)_build_cmds |
| 18 | $(MAKE) |
| 19 | endef |
| 20 | |
| 21 | define $(package)_stage_cmds |
| 22 | $(MAKE) DESTDIR=$($(package)_staging_dir) install |
| 23 | endef |