Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
alpine
aports
Commits
583b71aa
Commit
583b71aa
authored
Apr 06, 2015
by
Natanael Copa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
main/lua-mosquitto: use install_if
parent
e85ebca6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
main/lua-mosquitto/APKBUILD
main/lua-mosquitto/APKBUILD
+2
-2
No files found.
main/lua-mosquitto/APKBUILD
View file @
583b71aa
...
...
@@ -4,7 +4,7 @@ _luaversions="5.1 5.2 5.3"
pkgname
=
lua-mosquitto
pkgver
=
0.1
pkgrel
=
1
pkgrel
=
2
pkgdesc
=
"Bindingd to libmosquitto for Lua"
url
=
"https://github.com/flukso/lua-mosquitto"
arch
=
"all"
...
...
@@ -15,7 +15,6 @@ makedepends="$depends_dev mosquitto-dev"
subpackages
=
""
for
_v
in
$_luaversions
;
do
depends
=
"
$depends
lua
$_v
-mosquitto"
makedepends
=
"
$makedepends
lua
$_v
-dev"
subpackages
=
"
$subpackages
lua
$_v
-mosquitto:split_
${
_v
/./_
}
"
done
...
...
@@ -58,6 +57,7 @@ package() {
_split
()
{
local
d
=
_ver
=
$1
pkgdesc
=
"
$pkgdesc
$_ver
"
install_if
=
"lua
$_ver
$pkgname
=
$pkgver
-r
$pkgrel
"
depends
=
for
d
in
usr/lib/lua usr/share/lua
;
do
if
[
-d
"
$pkgdir
"
/
$d
/
$_ver
]
;
then
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment