blob: d1ca407705425c6910dd0d85c412c0f57e872430 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
#
# Copyright (C) 2006-2015 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=uuid
PKG_VERSION:=0.2.0
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_MIRROR_HASH:=142b60b266d90db6177eb07919d8b71ac4a3bb17859540d4655c02f395526962
PKG_SOURCE_PROTO:=git
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE_URL:=https://github.com/Tieske/uuid.git
PKG_SOURCE_VERSION:=version_$(PKG_VERSION)
PKG_MAINTAINER:=Amr Hassan <amr.hassan@gmail.com>
PKG_LICENSE=Apache-2.0
LUA_MODULE_PATH:=/usr/lib/lua
include $(INCLUDE_DIR)/package.mk
define Package/uuid
SUBMENU:=Lua
SECTION:=lang
CATEGORY:=Languages
TITLE:=uuid
URL:=https://github.com/Tieske/uuid
DEPENDS:=+lua +luasocket
PKGARCH:=all
endef
define Package/uuid/description
A pure Lua uuid generator
endef
define Build/Configure
endef
define Build/Compile
endef
define Package/uuid/install
$(INSTALL_DIR) $(1)/$(LUA_MODULE_PATH)
$(INSTALL_DATA) $(PKG_BUILD_DIR)/src/uuid.lua $(1)/$(LUA_MODULE_PATH)/uuid.lua
endef
$(eval $(call BuildPackage,uuid))
|