Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
aports
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
647
Issues
647
List
Boards
Labels
Service Desk
Milestones
Merge Requests
168
Merge Requests
168
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alpine
aports
Commits
ba771e47
Commit
ba771e47
authored
Aug 26, 2016
by
Francesco Colista
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
community/xmlstarlet: moved from unmaintained, cleaned up APKBUILD
parent
aec0ebf7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
17 deletions
+10
-17
community/xmlstarlet/APKBUILD
community/xmlstarlet/APKBUILD
+10
-17
No files found.
unmaintained
/xmlstarlet/APKBUILD
→
community
/xmlstarlet/APKBUILD
View file @
ba771e47
...
...
@@ -8,35 +8,28 @@ url="http://xmlstar.sourceforge.net"
arch
=
"all"
license
=
"MIT"
depends
=
""
depends_dev
=
""
makedepends
=
"
$depends_dev
ghostscript libxml2-dev libxslt-dev"
makedepends
=
"ghostscript libxml2-dev libxslt-dev"
install
=
""
subpackages
=
"
$pkgname
-doc"
source
=
"
$pkgname
-
$pkgver
.tar.gz::http://sourceforge.net/projects/xmlstar/files/
$pkgname
/
$pkgver
/
$pkgname
-
$pkgver
.tar.gz/download"
_builddir
=
"
$srcdir
"
/
$pkgname
-
$pkgver
prepare
()
{
local
i
cd
"
$_builddir
"
for
i
in
$source
;
do
case
$i
in
*
.patch
)
msg
$i
;
patch
-p1
-i
"
$srcdir
"
/
$i
||
return
1
;;
esac
done
}
builddir
=
"
$srcdir
"
/
$pkgname
-
$pkgver
build
()
{
cd
"
$_builddir
"
LIBXSLT_PREFIX
=
/usr
LIBXML_PREFIX
=
/usr ./configure
--prefix
=
/usr
--enable-build-docs
cd
"
$builddir
"
LIBXSLT_PREFIX
=
/usr
\
LIBXML_PREFIX
=
/usr
\
./configure
\
--prefix
=
/usr
\
--enable-build-docs
make
||
return
1
}
package
()
{
cd
"
$
_
builddir
"
cd
"
$builddir
"
make
DESTDIR
=
"
${
pkgdir
}
"
install
install
-Dm0644
Copyright
$pkgdir
/usr/share/licenses/
$pkgname
/COPYING
ln
-s
xml
${
pkgdir
}
/usr/bin/xmlstarlet
install
-Dm0644
Copyright
$pkgdir
/usr/share/licenses/
$pkgname
/COPYING
}
md5sums
=
"f3c5dfa3b1a2ee06cd57c255cc8b70a0 xmlstarlet-1.6.1.tar.gz"
...
...
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