aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEnno Boland <g@s01.de>2014-08-09 09:15:07 +0000
committerEnno Boland <g@s01.de>2014-08-09 09:15:07 +0000
commitccf88fd5e9487a97b79c9aa16aed4aa20830d309 (patch)
tree040e7e4e035ab84a325fb69e990ee29822b06e7b
parent3a4d653c896c6be770916d7530814cd207a12a1d (diff)
downloadvoid-packages-ccf88fd5e9487a97b79c9aa16aed4aa20830d309.tar
void-packages-ccf88fd5e9487a97b79c9aa16aed4aa20830d309.tar.gz
void-packages-ccf88fd5e9487a97b79c9aa16aed4aa20830d309.tar.bz2
void-packages-ccf88fd5e9487a97b79c9aa16aed4aa20830d309.tar.lz
void-packages-ccf88fd5e9487a97b79c9aa16aed4aa20830d309.tar.xz
void-packages-ccf88fd5e9487a97b79c9aa16aed4aa20830d309.tar.zst
void-packages-ccf88fd5e9487a97b79c9aa16aed4aa20830d309.zip
New package: wld-git-20140809
-rw-r--r--common/shlibs1
l---------srcpkgs/wld-git-devel1
-rw-r--r--srcpkgs/wld-git/template37
3 files changed, 39 insertions, 0 deletions
diff --git a/common/shlibs b/common/shlibs
index c89414c3119..7dba0d45534 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -1693,3 +1693,4 @@ libchm.so.0 libchmlib-0.40_1
libokularcore.so.4 libokular-4.13.3_1
libmnl.so.0 libmnl-1.0.3_1
libnftnl.so.0 libnftnl-1.0.2_1
+libwld.so.0 wld-git-20140809_1
diff --git a/srcpkgs/wld-git-devel b/srcpkgs/wld-git-devel
new file mode 120000
index 00000000000..f6b85a31fb4
--- /dev/null
+++ b/srcpkgs/wld-git-devel
@@ -0,0 +1 @@
+wld-git \ No newline at end of file
diff --git a/srcpkgs/wld-git/template b/srcpkgs/wld-git/template
new file mode 100644
index 00000000000..6ae58ef52fe
--- /dev/null
+++ b/srcpkgs/wld-git/template
@@ -0,0 +1,37 @@
+# Template file for 'wld-git'
+# Latest commit as of 20140809
+_githash="3acacf1a0890231227172bfdc4509bda36369e71"
+_gitshort="${_githash:0:7}"
+
+pkgname=wld-git
+version=20140809
+revision=1
+homepage="https://github.com/michaelforney/wld"
+distfiles="https://github.com/michaelforney/wld/archive/${_githash}.tar.gz"
+short_desc="primitive drawing library targeted at Wayland"
+maintainer="Enno Boland <eb@s01.de>"
+hostmakedepends="pkg-config"
+makedepends="pixman-devel fontconfig-devel libdrm-devel wayland-devel"
+license="MIT"
+checksum=020ec074fdee06c436a354ff13c2ecdd206ae33f095d8f711c9984a0faabd5e2
+wrksrc=wld-${_githash}
+
+do_build() {
+ sed -i '/^ENABLE_STATIC /d' config.mk
+
+ make CC=$CC INCS="-I."
+}
+
+do_install() {
+ make PREFIX=/usr DESTDIR=$DESTDIR install
+}
+
+wld-git-devel_package() {
+ depends="wld-git>=${version}_${revision}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ vmove "usr/lib/*.so"
+ }
+}