blob: 87dda403f2d64a0049027d6951ed5347b049c39e (
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
|
################################################################################
#
# lbase64
#
################################################################################
LBASE64_VERSION = 20100323
LBASE64_SITE = http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/5.1
LBASE64_SOURCE = lbase64.tar.gz
LBASE64_LICENSE = Public domain
LBASE64_LICENSE_FILES = README
LBASE64_DEPENDENCIES = lua
define LBASE64_BUILD_CMDS
$(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS) -fPIC" so
endef
define LBASE64_INSTALL_TARGET_CMDS
$(INSTALL) -D -m 0755 $(@D)/base64.so \
$(TARGET_DIR)/usr/lib/lua/base64.so
endef
define LBASE64_UNINSTALL_TARGET_CMDS
rm -f $(TARGET_DIR)/usr/lib/lua/base64.so
endef
define LBASE64_CLEAN_CMDS
$(MAKE) -C $(@D) clean
endef
$(eval $(generic-package))
|