Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Adélie Linux
Adélie Package Tree
Commits
a278c3e0
Verified
Commit
a278c3e0
authored
Jan 01, 2020
by
A. Wilcox
🦊
Browse files
user/*: Modernise / fix syntax / deps
parent
4c66fd86
Changes
21
Hide whitespace changes
Inline
Side-by-side
user/convertlit/APKBUILD
View file @
a278c3e0
...
...
@@ -17,13 +17,11 @@ source="http://www.convertlit.com/${pkgname}${pkgver/./}src.zip
builddir
=
"
$srcdir
/"
build
()
{
cd
"
$builddir
"
make
-C
lib
make
-C
clit18
}
package
()
{
cd
"
$builddir
"
install
-D
-m755
clit18/clit
"
$pkgdir
"
/usr/bin/clit
}
...
...
user/ebook-tools/APKBUILD
View file @
a278c3e0
...
...
@@ -8,12 +8,11 @@ url="https://sourceforge.net/projects/ebook-tools/"
arch
=
"all"
license
=
"MIT"
depends
=
"convertlit cmd:which"
makedepends
=
"libxml2-dev libzip-dev"
makedepends
=
"
cmake
libxml2-dev libzip-dev"
subpackages
=
"
$pkgname
-dev"
source
=
"https://downloads.sourceforge.net/ebook-tools/ebook-tools-
$pkgver
.tar.gz"
build
()
{
cd
"
$builddir
"
if
[
"
$CBUILD
"
!=
"
$CHOST
"
]
;
then
CMAKE_CROSSOPTS
=
"-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
fi
...
...
@@ -22,17 +21,15 @@ build() {
-DBUILD_SHARED_LIBS
=
True
\
-DCMAKE_BUILD_TYPE
=
RelWithDebugInfo
\
-DCMAKE_C_FLAGS
=
"
$CFLAGS
"
\
${
CMAKE_CROSSOPTS
}
${
CMAKE_CROSSOPTS
}
.
make
}
check
()
{
cd
"
$builddir
"
CTEST_OUTPUT_ON_FAILURE
=
TRUE ctest
}
package
()
{
cd
"
$builddir
"
make
DESTDIR
=
"
$pkgdir
"
install
}
...
...
user/freecell-solver/APKBUILD
View file @
a278c3e0
...
...
@@ -8,15 +8,14 @@ url="https://fc-solve.shlomifish.org/"
arch
=
"all"
license
=
"MIT"
depends
=
"python3"
makedepends
=
"gperf perl perl-task-freecellsolver-testing python3 py3-random2
py3-six"
checkdepends
=
"gmp-dev libtap-dev perl-dev py3-cffi py3-pycotap the_silver_searcher
valgrind"
makedepends
=
"cmake gperf perl perl-task-freecellsolver-testing python3
py3-random2 py3-six"
subpackages
=
"
$pkgname
-dev
$pkgname
-doc"
source
=
"https://fc-solve.shlomifish.org/downloads/fc-solve/freecell-solver-
$pkgver
.tar.xz"
build
()
{
cd
"
$builddir
"
if
[
"
$CBUILD
"
!=
"
$CHOST
"
]
;
then
CMAKE_CROSSOPTS
=
"-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
fi
...
...
@@ -26,19 +25,17 @@ build() {
-DCMAKE_BUILD_TYPE
=
RelWithDebugInfo
\
-DCMAKE_CXX_FLAGS
=
"
$CXXFLAGS
"
\
-DCMAKE_C_FLAGS
=
"
$CFLAGS
"
\
${
CMAKE_CROSSOPTS
}
${
CMAKE_CROSSOPTS
}
.
# The build system generates header files; jobs >1 may cause failures
# because .h don't exist yet.
make
-j1
}
check
()
{
cd
"
$builddir
"
CTEST_OUTPUT_ON_FAILURE
=
TRUE ctest
}
package
()
{
cd
"
$builddir
"
make
DESTDIR
=
"
$pkgdir
"
install
}
...
...
user/gnu-ghostscript/APKBUILD
View file @
a278c3e0
...
...
@@ -18,7 +18,6 @@ source="ftp://ftp.gnu.org/gnu/ghostscript/gnu-ghostscript-$pkgver.tar.xz
"
build
()
{
cd
"
$builddir
"
./configure
\
--build
=
$CBUILD
\
--host
=
$CHOST
\
...
...
@@ -33,12 +32,10 @@ build() {
}
check
()
{
cd
"
$builddir
"
make check
}
package
()
{
cd
"
$builddir
"
make
DESTDIR
=
"
$pkgdir
"
install
make
DESTDIR
=
"
$pkgdir
"
soinstall
install
-D
-m644
base/
*
.h
"
$pkgdir
"
/usr/include/ghostscript
...
...
user/gsl/APKBUILD
View file @
a278c3e0
...
...
@@ -20,7 +20,6 @@ source="https://ftp.gnu.org/gnu/gsl/gsl-$pkgver.tar.gz
# https://github.com/SciRuby/rb-gsl/issues/40
build
()
{
cd
"
$builddir
"
[
$CTARGET_ARCH
!=
"ppc"
]
||
export
ac_cv_c_ieee_interface
=
unknown
./configure
\
--build
=
$CBUILD
\
...
...
@@ -30,12 +29,10 @@ build() {
}
check
()
{
cd
"
$builddir
"
make check
}
package
()
{
cd
"
$builddir
"
make
DESTDIR
=
"
$pkgdir
"
install
}
...
...
user/libexif/APKBUILD
View file @
a278c3e0
...
...
@@ -11,7 +11,8 @@ depends=""
makedepends
=
""
source
=
"https://downloads.sourceforge.net/
$pkgname
/
$pkgname
-
$pkgver
.tar.bz2
CVE-2017-7544.patch
CVE-2018-20030.patch"
CVE-2018-20030.patch
"
# secfixes:
# 0.6.21-r3:
...
...
@@ -19,8 +20,8 @@ source="https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2
# - CVE-2018-20030
prepare
()
{
update_config_sub
default_prepare
update_config_sub
}
build
()
{
...
...
user/libgphoto2/APKBUILD
View file @
a278c3e0
...
...
@@ -10,13 +10,11 @@ license="LGPL-2.1+"
depends
=
""
depends_dev
=
"libexif-dev libusb-dev"
makedepends
=
"
$depends_dev
libjpeg-turbo-dev libtool"
subpackages
=
"
$pkgname
-dev
$pkgname
-doc
$pkgname
-lang"
install
=
"
$pkgname
.pre-install
$pkgname
.pre-upgrade"
replaces
=
"libgphoto2-dev
"
subpackages
=
"
$pkgname
-dev
$pkgname
-doc
$pkgname
-lang
"
source
=
"https://downloads.sourceforge.net/gphoto/libgphoto2-
$pkgver
.tar.bz2"
build
()
{
cd
"
$builddir
"
udevscriptdir
=
/lib/udev ./configure
\
--build
=
$CBUILD
\
--host
=
$CHOST
\
...
...
@@ -28,12 +26,10 @@ build() {
}
check
()
{
cd
"
$builddir
"
make check
}
package
()
{
cd
"
$builddir
"
make
DESTDIR
=
"
$pkgdir
"
install
rm
-f
"
$pkgdir
"
/usr/lib/libgphoto2/
*
/
*
.a
\
"
$pkgdir
"
/usr/lib/
*
.a
...
...
user/libieee1284/APKBUILD
View file @
a278c3e0
...
...
@@ -8,10 +8,12 @@ url="http://cyberelk.net/tim/software/libieee1284/"
arch
=
"all"
options
=
"!check"
# No test suite.
license
=
"GPL-2.0+"
depends
=
""
makedepends
=
"file"
subpackages
=
"
$pkgname
-dev
$pkgname
-doc"
source
=
"https://downloads.sourceforge.net/sourceforge/
$pkgname
/
$pkgname
-
$pkgver
.tar.bz2
include.patch"
include.patch
"
prepare
()
{
default_prepare
...
...
@@ -19,8 +21,6 @@ prepare() {
}
build
()
{
cd
"
$builddir
"
./configure
\
--prefix
=
/usr
\
--mandir
=
/usr/share/man
\
...
...
@@ -30,7 +30,6 @@ build() {
}
package
()
{
cd
"
$builddir
"
make
DESTDIR
=
"
$pkgdir
"
install
}
...
...
user/libspectre/APKBUILD
View file @
a278c3e0
...
...
@@ -13,7 +13,6 @@ subpackages="$pkgname-dev"
source
=
"https://libspectre.freedesktop.org/releases/libspectre-
$pkgver
.tar.gz"
build
()
{
cd
"
$builddir
"
./configure
\
--build
=
$CBUILD
\
--host
=
$CHOST
\
...
...
@@ -25,12 +24,10 @@ build() {
}
check
()
{
cd
"
$builddir
"
make check
}
package
()
{
cd
"
$builddir
"
make
DESTDIR
=
"
$pkgdir
"
install
}
...
...
user/libtap/APKBUILD
View file @
a278c3e0
...
...
@@ -22,7 +22,7 @@ build() {
-DCMAKE_BUILD_TYPE
=
RelWithDebugInfo
\
-DCMAKE_CXX_FLAGS
=
"
$CXXFLAGS
"
\
-DCMAKE_C_FLAGS
=
"
$CFLAGS
"
\
${
CMAKE_CROSSOPTS
}
${
CMAKE_CROSSOPTS
}
.
make
}
...
...
user/libzip/APKBUILD
View file @
a278c3e0
...
...
@@ -9,6 +9,7 @@ pkgdesc="C library for manipulating ZIP archives"
url
=
"https://libzip.org/"
arch
=
"all"
license
=
"BSD-3-Clause"
depends
=
""
depends_dev
=
"zlib-dev"
makedepends
=
"
$depends_dev
cmake openssl-dev perl"
subpackages
=
"
$pkgname
-dev
$pkgname
-doc
$pkgname
-tools"
...
...
@@ -25,7 +26,7 @@ build() {
-DBUILD_SHARED_LIBS
=
True
\
-DCMAKE_BUILD_TYPE
=
RelWithDebugInfo
\
-DCMAKE_CXX_FLAGS
=
"
$CXXFLAGS
"
\
-DCMAKE_C_FLAGS
=
"
$CFLAGS
"
-DCMAKE_C_FLAGS
=
"
$CFLAGS
"
.
make
}
...
...
user/net-snmp/APKBUILD
View file @
a278c3e0
...
...
@@ -26,18 +26,13 @@ source="https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
"
prepare
()
{
update_config_sub
default_prepare
# Allow tmpfs volume size monitoring
# Ref #932
update_config_sub
sed
-e
's#"tmpfs",#/* "tmpfs", */#g'
-i
agent/mibgroup/host/hr_filesys.c
}
build
()
{
cd
"
$builddir
"
export
lt_cv_sys_max_cmd_len
=
8192
LIBS
=
"-ltinfow"
./configure
\
--build
=
$CBUILD
\
--host
=
$CHOST
\
...
...
@@ -64,7 +59,6 @@ build() {
}
package
()
{
cd
"
$builddir
"
make
-j1
DESTDIR
=
"
$pkgdir
"
install
# remove things we dont want distribute
rm
"
$pkgdir
"
/usr/lib/libsnmp
*
\
...
...
user/openal-soft/APKBUILD
View file @
a278c3e0
...
...
@@ -6,6 +6,7 @@ pkgrel=0
pkgdesc
=
"Software implementation of OpenAL API"
url
=
"https://kcat.strangesoft.net/openal.html"
arch
=
"all"
options
=
"!check"
# No test suite.
license
=
"LGPL-2.0+"
depends
=
""
depends_dev
=
"alsa-lib-dev"
...
...
@@ -13,14 +14,8 @@ makedepends="$depends_dev cmake linux-headers pulseaudio-dev"
subpackages
=
"
$pkgname
-dev"
source
=
"https://kcat.strangesoft.net/openal-releases/
${
pkgname
}
-
${
pkgver
}
.tar.bz2"
prepare
()
{
default_prepare
mkdir
-p
"
$builddir
"
/build
}
build
()
{
local
_cpuext_neon
=
""
cd
"
$builddir
"
/build
case
"
$CARCH
"
in
armhf
)
_cpuext_neon
=
"-DALSOFT_CPUEXT_NEON=OFF"
;;
esac
...
...
@@ -28,18 +23,12 @@ build() {
-DCMAKE_INSTALL_PREFIX
=
"/usr"
\
-DCMAKE_INSTALL_LIBDIR
=
"lib"
\
$_cpuext_neon
\
"
$builddir
"
make
}
check
()
{
cd
"
$builddir
"
/build
CTEST_OUTPUT_ON_FAILURE
=
TRUE ctest
-Bbuild
make
-C
build
}
package
()
{
cd
"
$builddir
"
/build
make
DESTDIR
=
"
$pkgdir
"
install
make
DESTDIR
=
"
$pkgdir
"
-C
build
install
}
sha512sums
=
"356a3f12bbe284bfac71f4f2a9f83d084083a832012222e73743042ac27812cf051c12b0ddcf53c010ff77e44ae2e9033cea9b9324d316a22a59a154307a64a4 openal-soft-1.19.1.tar.bz2"
user/perl-crypt-rijndael/APKBUILD
View file @
a278c3e0
...
...
@@ -10,7 +10,7 @@ pkgdesc="Crypt::CBC compliant Rijndael encryption module"
url
=
"https://metacpan.org/release/Crypt-Rijndael"
arch
=
"all"
license
=
"LGPL-3.0+"
depends
=
"perl-test-manifest"
depends
=
"perl
perl
-test-manifest"
makedepends
=
"perl-dev"
subpackages
=
"
$pkgname
-doc"
source
=
"https://search.cpan.org/CPAN/authors/id/
$_a
/
$_au
/
$_author
/
$_pkgreal
-
$pkgver
.tar.gz
...
...
user/perl-net-snmp/APKBUILD
View file @
a278c3e0
...
...
@@ -12,7 +12,7 @@ pkgdesc="Object oriented interface to SNMP"
url
=
"https://metacpan.org/release/Net-SNMP"
arch
=
"noarch"
license
=
"GPL-2.0-only OR Artistic-1.0-Perl"
depends
=
"perl-crypt-des perl-crypt-rijndael perl-digest-hmac perl-digest-sha1"
depends
=
"perl
perl
-crypt-des perl-crypt-rijndael perl-digest-hmac perl-digest-sha1"
makedepends
=
"perl-dev perl-module-build"
subpackages
=
"
$pkgname
-doc"
source
=
"https://search.cpan.org/CPAN/authors/id/
$_a
/
$_au
/
$_author
/
$_pkgreal
-v
$pkgver
.tar.gz"
...
...
user/perl-test-manifest/APKBUILD
View file @
a278c3e0
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname
=
perl-test-manifest
_pkgreal
=
Test-Manifest
...
...
@@ -13,7 +11,7 @@ url="https://metacpan.org/release/Test-Manifest"
arch
=
"noarch"
license
=
"Artistic-2.0"
depends
=
"perl"
makedepends
=
""
makedepends
=
"
perl-dev
"
subpackages
=
"
$pkgname
-doc"
source
=
"https:///cpan.metacpan.org/authors/id/
$_a
/
$_au
/
$_author
/
$_pkgreal
-
$pkgver
.tar.gz"
builddir
=
"
$srcdir
/
$_pkgreal
-
$pkgver
"
...
...
user/py3-pycotap/APKBUILD
View file @
a278c3e0
...
...
@@ -15,17 +15,14 @@ source="https://files.pythonhosted.org/packages/a1/99/f1dfa70ffe1140f701ba979763
builddir
=
"
$srcdir
/
$_pipname
-
$pkgver
"
build
()
{
cd
"
$builddir
"
python3 setup.py build
}
check
()
{
cd
"
$builddir
"
python3 setup.py check
}
package
()
{
cd
"
$builddir
"
python3 setup.py
install
--prefix
=
/usr
--root
=
"
$pkgdir
"
}
...
...
user/py3-random2/APKBUILD
View file @
a278c3e0
...
...
@@ -12,22 +12,18 @@ arch="noarch"
license
=
"Python-2.0"
depends
=
"python3"
makedepends
=
"python3-dev"
install
=
""
source
=
"
$pkgname
-
$pkgver
.zip::https://files.pythonhosted.org/packages/source/
$_p
/
$_pkgname
/
$_pkgname
-
$pkgver
.zip"
builddir
=
"
$srcdir
/
$_pkgname
-
$pkgver
"
build
()
{
cd
"
$builddir
"
python3 setup.py build
}
check
()
{
cd
"
$builddir
"
PYTHONPATH
=
"build/lib"
python3 setup.py
test
}
package
()
{
cd
"
$builddir
"
python3 setup.py
install
--prefix
=
/usr
--root
=
"
$pkgdir
"
}
...
...
user/qca/APKBUILD
View file @
a278c3e0
...
...
@@ -13,21 +13,19 @@ subpackages="$pkgname-dev $pkgname-doc"
source
=
"https://download.kde.org/stable/qca/
$pkgver
/qca-
${
pkgver
}
.tar.xz"
build
()
{
cd
"
$builddir
"
cmake
\
-DCMAKE_INSTALL_PREFIX
=
/usr
\
-DCMAKE_BUILD_TYPE
=
RelWithDebugInfo
\
-DWITH_cyrus-sasl_PLUGIN
=
yes
\
.
make
}
check
()
{
cd
"
$builddir
"
make
test
}
package
()
{
cd
"
$builddir
"
make
DESTDIR
=
"
$pkgdir
"
install
}
...
...
user/quazip/APKBUILD
View file @
a278c3e0
...
...
@@ -8,7 +8,7 @@ url="https://stachenov.github.io/quazip/"
arch
=
"all"
license
=
"LGPL-2.1-only WITH Static-linking-exception"
depends
=
""
makedepends
=
"qt5-qtbase-dev zlib-dev"
makedepends
=
"
cmake
qt5-qtbase-dev zlib-dev"
subpackages
=
"
$pkgname
-dev"
source
=
"quazip-
$pkgver
.tar.gz::https://github.com/stachenov/quazip/archive/v
$pkgver
.tar.gz"
...
...
Prev
1
2
Next
Write
Preview
Supports
Markdown
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