diff options
Diffstat (limited to 'user')
-rw-r--r-- | user/cmus/APKBUILD | 63 | ||||
-rw-r--r-- | user/lzo/APKBUILD | 41 | ||||
-rw-r--r-- | user/lzop/APKBUILD | 38 | ||||
-rw-r--r-- | user/netqmail/APKBUILD | 4 | ||||
-rw-r--r-- | user/openjdk7/APKBUILD | 1 | ||||
-rw-r--r-- | user/s6-dns/APKBUILD | 48 | ||||
-rw-r--r-- | user/s6-networking/APKBUILD | 46 |
7 files changed, 143 insertions, 98 deletions
diff --git a/user/cmus/APKBUILD b/user/cmus/APKBUILD new file mode 100644 index 000000000..918cef34c --- /dev/null +++ b/user/cmus/APKBUILD @@ -0,0 +1,63 @@ +# Contributor: Luis Ressel <aranea@aixah.de> +# Maintainer: Luis Ressel <aranea@aixah.de> +pkgname=cmus +pkgver=2.8.0 +pkgrel=0 +pkgdesc="An ncurses based music player with plugin support for many formats" +url="https://cmus.github.io/" +arch="all" +options="!check" # no test suite +license="GPL-2.0+" +depends="" +makedepends="alsa-lib-dev faad2-dev ffmpeg-dev flac-dev libao-dev libcddb-dev + libcdio-paranoia-dev libmad-dev libmodplug-dev libvorbis-dev ncurses-dev + opusfile-dev pulseaudio-dev wavpack-dev" +subpackages="$pkgname-doc" +source="$pkgname-$pkgver.tar.gz::https://github.com/$pkgname/$pkgname/archive/v$pkgver.tar.gz" + +build() { + cd "$builddir" + ./configure prefix=/usr \ + CONFIG_AAC=y \ + CONFIG_ALSA=y \ + CONFIG_AO=y \ + CONFIG_ARTS=n \ + CONFIG_BASS=n \ + CONFIG_CDDB=y \ + CONFIG_CDIO=y \ + CONFIG_COREAUDIO=n \ + CONFIG_CUE=y \ + CONFIG_DISCID=n \ + CONFIG_FFMPEG=y \ + CONFIG_FLAC=y \ + CONFIG_JACK=n \ + CONFIG_MAD=y \ + CONFIG_MIKMOD=n \ + CONFIG_MODPLUG=y \ + CONFIG_MP4=n \ + CONFIG_MPC=n \ + CONFIG_MPRIS=n \ + CONFIG_OPUS=y \ + CONFIG_OSS=y \ + CONFIG_PULSE=y \ + CONFIG_ROAR=n \ + CONFIG_SAMPLERATE=n \ + CONFIG_SNDIO=n \ + CONFIG_SUN=n \ + CONFIG_TREMOR=n \ + CONFIG_VORBIS=y \ + CONFIG_VTX=n \ + CONFIG_WAV=y \ + CONFIG_WAVEOUT=n \ + CONFIG_WAVPACK=y \ + USE_FALLBACK_IP=n + + make +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" PREFIX=/usr install +} + +sha512sums="cf359dfcefa833a5b10a2d16ac405672bea762b62b7177c115560127035682fba65c15b9a8710179a343d1f99212a0260b5c095542982202e2cd1bef5b0c17fc cmus-2.8.0.tar.gz" diff --git a/user/lzo/APKBUILD b/user/lzo/APKBUILD deleted file mode 100644 index 1707525e0..000000000 --- a/user/lzo/APKBUILD +++ /dev/null @@ -1,41 +0,0 @@ -# Contributor: Valery Kartel <valery.kartel@gmail.com> -# Contributor: Michael Mason <ms13sp@gmail.com> -# Maintainer: Dan Theisen <djt@hxx.in> -pkgname=lzo -pkgver=2.10 -pkgrel=3 -pkgdesc="Portable lossless real-time data compression library" -url="http://www.oberhumer.com/opensource/lzo" -arch="all" -license="GPL-2.0+" -depends="" -makedepends="" -install= -subpackages="$pkgname-dev $pkgname-doc" -source="http://www.oberhumer.com/opensource/lzo/download/$pkgname-$pkgver.tar.gz" - -build() { - cd "$builddir" - CFLAGS="$CFLAGS -DLZO_CFG_NO_SYSCALL=1" \ - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --enable-shared - make -} - -check() { - cd "$builddir" - make check -} - -package() { - cd "$builddir" - make DESTDIR="$pkgdir" install -} - -sha512sums="a3dae5e4a6b93b1f5bf7435e8ab114a9be57252e9efc5dd444947d7a2d031b0819f34bcaeb35f60b5629a01b1238d738735a64db8f672be9690d3c80094511a4 lzo-2.10.tar.gz" diff --git a/user/lzop/APKBUILD b/user/lzop/APKBUILD deleted file mode 100644 index 030364595..000000000 --- a/user/lzop/APKBUILD +++ /dev/null @@ -1,38 +0,0 @@ -# Contributor: A. Wilcox <awilfox@adelielinux.org> -# Maintainer: A. Wilcox <awilfox@adelielinux.org> -pkgname=lzop -pkgver=1.04 -pkgrel=0 -pkgdesc="A very fast file compressor and decompressor" -url="http://www.lzop.org/" -arch="all" -license="GPL-2.0+" -depends="" -makedepends="lzo-dev" -install="" -subpackages="$pkgname-doc" -source="http://www.lzop.org/download/lzop-$pkgver.tar.gz" - -build() { - cd "$builddir" - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --localstatedir=/var - make -} - -check() { - cd "$builddir" - make check -} - -package() { - cd "$builddir" - make DESTDIR="$pkgdir" install -} - -sha512sums="5829b4495ffefab549aa697a05c536ce593c572c9eee6004460583a0090abcd317c6074c4f981dfee6be61ac8d127f02dd37053b6cb782af64db41586a8bbb6e lzop-1.04.tar.gz" diff --git a/user/netqmail/APKBUILD b/user/netqmail/APKBUILD index e6aa892ac..b5b50d6ad 100644 --- a/user/netqmail/APKBUILD +++ b/user/netqmail/APKBUILD @@ -2,11 +2,11 @@ # Maintainer: Laurent Bercot <ska-adelie@skarnet.org> pkgname=netqmail pkgver=1.06 -pkgrel=2 +pkgrel=4 pkgdesc="The qmail mail transfer agent (community version)" url="http://www.qmail.org/$pkgname/" arch="all" -license="ISC" +license="Public-Domain" provides=sendmail options="suid !check" # suid programs (qmail-queue); no test suite depends="execline s6 s6-networking" diff --git a/user/openjdk7/APKBUILD b/user/openjdk7/APKBUILD index 536fb54fb..13ffdf60f 100644 --- a/user/openjdk7/APKBUILD +++ b/user/openjdk7/APKBUILD @@ -39,6 +39,7 @@ s390x) _jarch=s390x;; ppc64le) _jarch=ppc64le;; ppc64) _jarch=ppc64 export CFLAGS="$CFLAGS -DABI_ELFv2";; +ppc) _jarch=ppc;; esac INSTALL_BASE=/usr/lib/jvm/java-1.7-openjdk diff --git a/user/s6-dns/APKBUILD b/user/s6-dns/APKBUILD index a0fa13696..aa1473ba5 100644 --- a/user/s6-dns/APKBUILD +++ b/user/s6-dns/APKBUILD @@ -1,16 +1,17 @@ # Contributor: Laurent Bercot <ska-adelie@skarnet.org> # Maintainer: Laurent Bercot <ska-adelie@skarnet.org> pkgname=s6-dns -pkgver=2.3.0.1 +pkgver=2.3.0.2 pkgrel=0 pkgdesc="skarnet.org's DNS client libraries and command-line DNS client utilities" url="https://skarnet.org/software/s6-dns/" arch="all" -license="ISC" -makedepends="skalibs-dev" options="!check" -makedepends="skalibs-dev" -subpackages="$pkgname-dev $pkgname-doc" +license="ISC" +_skalibs_version=2.8 +depends= +makedepends="skalibs-dev>=$_skalibs_version skalibs-libs-dev>=$_skalibs_version" +subpackages="$pkgname-libs $pkgname-dev $pkgname-libs-dev:libsdev $pkgname-doc" source="https://skarnet.org/software/$pkgname/$pkgname-$pkgver.tar.gz" build() { @@ -20,6 +21,7 @@ build() { --enable-static \ --disable-allstatic \ --prefix=/usr \ + --libdir=/usr/lib \ --libexecdir="/usr/lib/$package" \ --with-dynlib=/lib make @@ -30,10 +32,38 @@ package() { make DESTDIR="$pkgdir" install } + +libs() { + pkgdesc="$pkgdesc (shared libraries)" + depends="skalibs-libs>=$_skalibs_version" + mkdir -p "$subpkgdir/usr/lib" + mv "$pkgdir"/usr/lib/*.so.* "$subpkgdir/usr/lib/" +} + + +dev() { + pkgdesc="$pkgdesc (development files)" + depends="skalibs-dev>=$_skalibs_version" + mkdir -p "$subpkgdir/usr/include" "$subpkgdir/usr/lib" + mv "$pkgdir/usr/include" "$subpkgdir/usr/" + mv "$pkgdir"/usr/lib/*.a "$subpkgdir/usr/lib/" +} + + +libsdev() { + pkgdesc="$pkgdesc (development files for dynamic linking)" + depends="$pkgname-dev" + mkdir -p "$subpkgdir/usr/lib" + mv "$pkgdir"/usr/lib/*.so "$subpkgdir/usr/lib/" +} + + doc() { - default_doc - mkdir -p "$subpkgdir"/usr/share/doc - cp -a "$builddir"/doc "$subpkgdir"/usr/share/doc/$pkgname + pkgdesc="$pkgdesc (documentation)" + depends= + install_if="docs $pkgname=$pkgver-r$pkgrel" + mkdir -p "$subpkgdir/usr/share/doc" + cp -a "$builddir/doc" "$subpkgdir/usr/share/doc/$pkgname" } -sha512sums="69ae32f9b4ff22a5d38e3a2c950357d8c8032a649c1d81e4a4e5f474ae5c1bb1072555baa1a34f955293aa0f66a93f51f2cc8efd8aa56704b906e0b0979f8157 s6-dns-2.3.0.1.tar.gz" +sha512sums="fec0edf852423bf8f717fcdc3c00c8f38e7bab4d9a03d14e6e81ad3f175b5db57be44409761bbd990f56f81c3ae8e0aa76ab8c5b65fec823a0ce392bf41cdf33 s6-dns-2.3.0.2.tar.gz" diff --git a/user/s6-networking/APKBUILD b/user/s6-networking/APKBUILD index 39b08026f..09ba89702 100644 --- a/user/s6-networking/APKBUILD +++ b/user/s6-networking/APKBUILD @@ -1,16 +1,17 @@ # Contributor: Laurent Bercot <ska-adelie@skarnet.org> # Maintainer: Laurent Bercot <ska-adelie@skarnet.org> pkgname=s6-networking -pkgver=2.3.0.3 +pkgver=2.3.0.4 pkgrel=0 -pkgdesc="skarnet.org's UCSPI Unix and TCP tools, access control tools, and network time management utilities." +pkgdesc="skarnet.org's UCSPI TCP tools, access control tools, and network time management utilities." url="https://skarnet.org/software/$pkgname/" arch="all" -license="ISC" options="!check" # No test suite. -depends_dev="skalibs-dev bearssl-dev" -makedepends="skalibs-dev execline-dev s6-dev s6-dns-dev bearssl-dev" -subpackages="$pkgname-dev $pkgname-doc" +license="ISC" +_skalibs_version=2.8 +depends="execline" +makedepends="skalibs-dev>=$_skalibs_version skalibs-libs-dev>=$_skalibs_version execline-dev s6-dev s6-libs-dev s6-dns-dev s6-dns-libs-dev bearssl-dev" +subpackages="$pkgname-libs $pkgname-dev $pkgname-libs-dev:libsdev $pkgname-doc" source="https://skarnet.org/software/$pkgname/$pkgname-$pkgver.tar.gz" build() { @@ -20,6 +21,7 @@ build() { --enable-static \ --disable-allstatic \ --prefix=/usr \ + --libdir=/usr/lib \ --libexecdir="/usr/lib/$pkgname" \ --with-dynlib=/lib \ --enable-ssl=bearssl @@ -31,10 +33,38 @@ package() { make DESTDIR="$pkgdir" install } + +libs() { + pkgdesc="$pkgdesc (shared libraries)" + depends="skalibs-libs>=$_skalibs_version" + mkdir -p "$subpkgdir/usr/lib" + mv "$pkgdir"/usr/lib/*.so.* "$subpkgdir/usr/lib/" +} + + +dev() { + pkgdesc="$pkgdesc (development files)" + depends="skalibs-dev>=$_skalibs_version" + mkdir -p "$subpkgdir/usr/include" "$subpkgdir/usr/lib" + mv "$pkgdir/usr/include" "$subpkgdir/usr/" + mv "$pkgdir"/usr/lib/*.a "$subpkgdir/usr/lib/" +} + + +libsdev() { + pkgdesc="$pkgdesc (development files for dynamic linking)" + depends="$pkgname-dev" + mkdir -p "$subpkgdir/usr/lib" + mv "$pkgdir"/usr/lib/*.so "$subpkgdir/usr/lib/" +} + + doc() { - default_doc + pkgdesc="$pkgdesc (documentation)" + depends= + install_if="docs $pkgname=$pkgver-r$pkgrel" mkdir -p "$subpkgdir/usr/share/doc" cp -a "$builddir/doc" "$subpkgdir/usr/share/doc/$pkgname" } -sha512sums="f710c8c67b88523d4d461ab775ad3a56ca148e0e5ee4c02fe40d0783ff43af8779e598548db5048cc32852be6659f2feb7ac29ba07a953daa0039cec0fc14762 s6-networking-2.3.0.3.tar.gz" +sha512sums="e0a6dbaf3420beae5b6bab1cedeaeb5d58dea36c9a6e1c3f7140515c83eaf3e872f896d90e43771d74669edcc0a3f25ba8135cc3a21d378a297d92ba2abc62d3 s6-networking-2.3.0.4.tar.gz" |