aboutsummaryrefslogtreecommitdiff
path: root/depends/packages/libSM.mk
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2014-11-21 17:42:37 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2014-11-21 17:42:46 +0100
commita574189e2acdaa03658bfe495740b2d722984467 (patch)
tree85693fc342f3ed2abc4941439cb340816e7edd47 /depends/packages/libSM.mk
parent1b2600a13ac5c57f6567ff3909cec4e22acd25bf (diff)
parent246659aff15885e2289ac774debcef932a25f063 (diff)
Merge pull request #4727
246659a gitian: make tarballs deterministic and nuke .la files from build output (Cory Fields) c54d647 travis: let travis use shared libs for tests (Cory Fields) 4bbbdf3 gitian: quick docs update (Cory Fields) 1aead42 gitian: descriptors overhaul (Cory Fields) 5f93ec2 depends: Add a package for qt4.6. Linux uses it by default. (Cory Fields) 4302fa6 depends: Use pic for all linux dependencies (Cory Fields)
Diffstat (limited to 'depends/packages/libSM.mk')
-rw-r--r--depends/packages/libSM.mk23
1 files changed, 23 insertions, 0 deletions
diff --git a/depends/packages/libSM.mk b/depends/packages/libSM.mk
new file mode 100644
index 0000000000..0f9307ca76
--- /dev/null
+++ b/depends/packages/libSM.mk
@@ -0,0 +1,23 @@
+package=libSM
+$(package)_version=1.2.2
+$(package)_download_path=http://xorg.freedesktop.org/releases/individual/lib/
+$(package)_file_name=$(package)-$($(package)_version).tar.bz2
+$(package)_sha256_hash=0baca8c9f5d934450a70896c4ad38d06475521255ca63b717a6510fdb6e287bd
+$(package)_dependencies=xtrans xproto libICE
+
+define $(package)_set_vars
+ $(package)_config_opts=--without-libuuid --without-xsltproc --disable-docs --disable-static
+ $(package)_config_opts_linux=--with-pic
+endef
+
+define $(package)_config_cmds
+ $($(package)_autoconf)
+endef
+
+define $(package)_build_cmds
+ $(MAKE)
+endef
+
+define $(package)_stage_cmds
+ $(MAKE) DESTDIR=$($(package)_staging_dir) install
+endef