summaryrefslogtreecommitdiffstats
path: root/package/slirp/slirp.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/slirp/slirp.mk')
-rw-r--r--package/slirp/slirp.mk21
1 files changed, 21 insertions, 0 deletions
diff --git a/package/slirp/slirp.mk b/package/slirp/slirp.mk
new file mode 100644
index 000000000..b3f4bcdf1
--- /dev/null
+++ b/package/slirp/slirp.mk
@@ -0,0 +1,21 @@
+#############################################################
+#
+# Spice-slirp
+#
+#############################################################
+
+# There's no tarball releases of slirp, so we use the git repo
+# Also, there's no tag, so we use a random SHA1 (master's HEAD
+# of today)
+SLIRP_VERSION = 8c2da74c1385242f20799fec8c04f8378edc6550
+SLIRP_SITE = git://anongit.freedesktop.org/spice/slirp
+SLIRP_LICENSE = BSD-4c BSD-2c
+# Note: The license file 'COPYRIGHT' is missing from the sources,
+# although some files refer to it.
+SLIRP_INSTALL_STAGING = YES
+
+# As we're using the git tree, there's no ./configure,
+# so we need to autoreconf.
+SLIRP_AUTORECONF = YES
+
+$(eval $(autotools-package))