Import of pkgsrc-2014Q1
This commit is contained in:
1
textproc/lua-slnunicode/DESCR
Normal file
1
textproc/lua-slnunicode/DESCR
Normal file
@@ -0,0 +1 @@
|
||||
Unicode Library for Lua language.
|
||||
26
textproc/lua-slnunicode/Makefile
Normal file
26
textproc/lua-slnunicode/Makefile
Normal file
@@ -0,0 +1,26 @@
|
||||
# $NetBSD: Makefile,v 1.4 2013/10/30 06:24:57 dholland Exp $
|
||||
|
||||
DISTNAME= slnunicode-1.1apl1
|
||||
PKGNAME= ${LUA_PKGPREFIX}-${DISTNAME}
|
||||
CATEGORIES= textproc
|
||||
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
||||
|
||||
MAINTAINER= ryoon@NetBSD.org
|
||||
HOMEPAGE= https://github.com/phi-gamma/slnunicode/
|
||||
COMMENT= Unicode library for Lua
|
||||
|
||||
BUILD_TARGET= unicode.so
|
||||
LUA_VERSIONS_INCOMPATIBLE= 51
|
||||
|
||||
FIND_PREFIX:= LUADIR=lua
|
||||
.include "../../mk/find-prefix.mk"
|
||||
|
||||
MAKE_ENV+= LUADIR=${LUADIR}
|
||||
|
||||
INSTALLATION_DIRS= ${LUA_CDIR}
|
||||
|
||||
do-install:
|
||||
${INSTALL_LIB} ${WRKSRC}/unicode.so ${DESTDIR}${PREFIX}/${LUA_CDIR}
|
||||
|
||||
.include "../../lang/lua/module.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
2
textproc/lua-slnunicode/PLIST
Normal file
2
textproc/lua-slnunicode/PLIST
Normal file
@@ -0,0 +1,2 @@
|
||||
@comment $NetBSD: PLIST,v 1.1 2013/09/03 16:18:41 ryoon Exp $
|
||||
lib/lua/5.2/unicode.so
|
||||
6
textproc/lua-slnunicode/distinfo
Normal file
6
textproc/lua-slnunicode/distinfo
Normal file
@@ -0,0 +1,6 @@
|
||||
$NetBSD: distinfo,v 1.1 2013/09/03 16:18:41 ryoon Exp $
|
||||
|
||||
SHA1 (slnunicode-1.1apl1.tar.gz) = 635cfd874afc88765358206172ecb28308dc9e50
|
||||
RMD160 (slnunicode-1.1apl1.tar.gz) = 0802483382f375036fdbbf1b00592dd2c309aa1b
|
||||
Size (slnunicode-1.1apl1.tar.gz) = 31369 bytes
|
||||
SHA1 (patch-Makefile) = 8f3fd40102ba6a7fd5dc81ec7ced0e68469b077f
|
||||
20
textproc/lua-slnunicode/patches/patch-Makefile
Normal file
20
textproc/lua-slnunicode/patches/patch-Makefile
Normal file
@@ -0,0 +1,20 @@
|
||||
$NetBSD: patch-Makefile,v 1.1 2013/09/03 16:18:41 ryoon Exp $
|
||||
|
||||
* for pkgsrc.
|
||||
|
||||
--- Makefile.orig 2013-09-03 15:44:50.000000000 +0000
|
||||
+++ Makefile
|
||||
@@ -1,9 +1,9 @@
|
||||
# put next to lua-5.1.4
|
||||
-# then make -f slnunicode-1.1a/Makefile
|
||||
+# then make -f Makefile
|
||||
|
||||
-unicode.so: slnunicode-1.1a/slnunico.c slnunicode-1.1a/slnudata.c
|
||||
- gcc -Islnunicode-1.1a -Ilua-5.1.4/src -shared -Wall -Os -fpic -o unicode.so slnunicode-1.1a/slnunico.c
|
||||
- lua-5.1.4/src/lua slnunicode-1.1a/unitest
|
||||
+unicode.so: slnunico.c slnudata.c
|
||||
+ gcc -I. ${CFLAGS} -shared -Wall -Os -fpic -o unicode.so slnunico.c
|
||||
+ ${LUADIR}/bin/lua unitest
|
||||
|
||||
clean:
|
||||
rm unicode.so
|
||||
Reference in New Issue
Block a user