Commit 73e17cb3 authored by Carlo Landmeter's avatar Carlo Landmeter

Merge commit 'ncopa/master'

parents 34735a00 9c645c36
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgdesc="Script to build Alpine Packages"
pkgname=abuild
pkgver=1.8
pkgver=1.9
pkgrel=0
url=http://dev.alpinelinux.org/cgit/cgit.cgi/abuild/
source="http://dev.alpinelinux.org/cgit/cgit.cgi/abuild/snapshot/abuild-$pkgver.tar.bz2
url=http://git.alpinelinux.org/cgit/abuild/
source="http://git.alpinelinux.org/cgit/abuild/snapshot/abuild-$pkgver.tar.bz2
"
depends="fakeroot file sudo"
license=GPL-2
......@@ -15,4 +15,4 @@ build() {
install -m 644 abuild.conf "$pkgdir"/etc/abuild.conf
}
md5sums="9e9365f749858b8ee98ebba3e337f8f6 abuild-1.8.tar.bz2"
md5sums="5bf87a419669cf304f28508affd766a8 abuild-1.9.tar.bz2"
pkgname=apk-tools
pkgver=2.0_pre7
pkgver=2.0_pre8
pkgrel=0
pkgdesc="Alpine Package Keeper - package manager for alpine"
depends="uclibc"
makedepends="zlib-dev"
source="http://dev.alpinelinux.org/cgit/cgit.cgi/$pkgname/snapshot/$pkgname-$pkgver.tar.bz2"
url="http://dev.alpinelinux.org/cgit/cgit.cgi/apk-tools/"
source="http://git.alpinelinux.org/cgit/$pkgname/snapshot/$pkgname-$pkgver.tar.bz2"
url="http://git.alpinelinux.org/cgit/apk-tools/"
license=GPL-2
build() {
cd "$srcdir/$pkgname"
cd "$srcdir/$pkgname-$pkgver"
make
make DESTDIR="$pkgdir" install
cd "$pkgdir/sbin"
......@@ -21,4 +21,4 @@ build() {
ln -s apk apk_version
}
md5sums="1fcfad238c148262dfe61874fe475f65 apk-tools-2.0_pre7.tar.bz2"
md5sums="fb6218940fba9dac3ef241c3f87d0d13 apk-tools-2.0_pre8.tar.bz2"
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=linux-headers
pkgver=2.6.27.4
pkgver=2.6.28.4
pkgrel=0
pkgdesc="Linux system headers"
url="http://kernel.org"
license='GPL-2'
makedepends="linux-sources perl"
options="!strip"
build() {
mkdir -p "$srcdir/$pkgname"
......
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=linux-sources
pkgver=2.6.27.4
_kernver=2.6.27
pkgrel=1
pkgver=2.6.28.4
_kernver=2.6.28
pkgrel=0
pkgdesc="The vanilla Linux kernel sources"
arch=i486
license=GPL-2
options="!strip"
url=http://kernel.org
source="ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-$_kernver.tar.bz2
ftp://ftp.kernel.org/pub/linux/kernel/v2.6/patch-$pkgver.bz2
......@@ -21,5 +22,5 @@ build() {
mv "linux-$_kernver" "$pkgdir/usr/src/linux-$pkgver"
}
md5sums="b3e78977aa79d3754cb7f8143d7ddabd linux-2.6.27.tar.bz2
fa7cb6cf1ee5e796e89905806ffc6f01 patch-2.6.27.4.bz2"
md5sums="d351e44709c9810b85e29b877f50968a linux-2.6.28.tar.bz2
65afbbf63a73ee7be7227531622049fe patch-2.6.28.4.bz2"
......@@ -6,9 +6,10 @@ pkgrel=0
pkgdesc="The PHP language runtime engine"
url="http://www.php.net/"
license="PHP-3"
depends=""
depends="uclibc"
makedepends="pcre-dev libxml2-dev libiconv-dev openssl-dev zlib-dev bzip2-dev
curl-dev libpng-dev libjpeg-dev freetype-dev libmcrypt-dev mysql-dev sqlite-dev"
curl-dev libpng-dev libjpeg-dev freetype-dev libmcrypt-dev mysql-dev sqlite-dev
libtool libltdl"
subpackages="$pkgname-doc $pkgname-dev $pkgname-bcmath $pkgname-bz2
$pkgname-calendar $pkgname-curl $pkgname-exif
$pkgname-ftp $pkgname-gd $pkgname-iconv $pkgname-json $pkgname-mcrypt
......@@ -52,179 +53,167 @@ build() {
install -D -m644 php.ini-recommended "$pkgdir"/etc/php/php.ini
}
_mv_mod() {
local d=usr/lib/php/20060613
mkdir -p "$subpkgdir/$d"
mv "$pkgdir/$d/${1}.so" "$subpkgdir/$d/" || return 1
# last one removed the dir
rmdir "$pkgdir/$d" 2>/dev/null
return 0
}
bcmath() {
depends="$pkgname"
install -D -m755 "${srcdir}/${pkgname}-${pkgver}/modules/bcmath.so" \
"${subpkgdir}/usr/lib/php/20060613/bcmath.so"
depends="uclibc $pkgname"
_mv_mod bcmath
}
bz2() {
depends="$pkgname"
install -D -m755 "${srcdir}/${pkgname}-${pkgver}/modules/bz2.so" \
"${subpkgdir}/usr/lib/php/20060613/bz2.so"
depends="uclibc $pkgname"
_mv_mod bz2
}
calendar() {
depends="$pkgname"
install -D -m755 "${srcdir}/${pkgname}-${pkgver}/modules/calendar.so" \
"${subpkgdir}/usr/lib/php/20060613/calendar.so"
depends="uclibc $pkgname"
_mv_mod calendar
}
curl() {
depends="$pkgname curl"
install -D -m755 "${srcdir}/${pkgname}-${pkgver}/modules/curl.so" \
"${subpkgdir}/usr/lib/php/20060613/curl.so"
depends="uclibc $pkgname curl"
_mv_mod curl
}
exif() {
depends="$pkgname"
install -D -m755 "${srcdir}/${pkgname}-${pkgver}/modules/exif.so" \
"${subpkgdir}/usr/lib/php/20060613/exif.so"
depends="uclibc $pkgname"
_mv_mod exif
}
ftp() {
depends="$pkgname openssl"
install -D -m755 "${srcdir}/${pkgname}-${pkgver}/modules/ftp.so" \
"${subpkgdir}/usr/lib/php/20060613/ftp.so"
depends="uclibc $pkgname openssl"
_mv_mod ftp
}
gd() {
depends="$pkgname freetype libpng libjpeg zlib"
install -D -m755 "${srcdir}/${pkgname}-${pkgver}/modules/gd.so" \
"${subpkgdir}/usr/lib/php/20060613/gd.so"
depends="uclibc $pkgname freetype libpng libjpeg zlib"
_mv_mod gd
}
iconv() {
depends="$pkgname libiconv"
install -D -m755 "${srcdir}/${pkgname}-${pkgver}/modules/iconv.so" \
"${subpkgdir}/usr/lib/php/20060613/iconv.so"
depends="uclibc $pkgname libiconv"
_mv_mod iconv
}
json() {
depends="$pkgname"
install -D -m755 "${srcdir}/${pkgname}-${pkgver}/modules/json.so" \
"${subpkgdir}/usr/lib/php/20060613/json.so"
depends="uclibc $pkgname"
_mv_mod json
}
mcrypt() {
depends="$pkgname libmcrypt"
install -D -m755 "${srcdir}/${pkgname}-${pkgver}/modules/mcrypt.so" \
"${subpkgdir}/usr/lib/php/20060613/mcrypt.so"
depends="uclibc $pkgname libmcrypt"
_mv_mod mcrypt
}
mime_magic() {
depends="$pkgname"
install -D -m755 "${srcdir}/${pkgname}-${pkgver}/modules/mime_magic.so" \
"${subpkgdir}/usr/lib/php/20060613/mime_magic.so"
depends="uclibc $pkgname"
_mv_mod mime_magic
}
mysql() {
depends="$pkgname mysql"
install -D -m755 "${srcdir}/${pkgname}-${pkgver}/modules/mysql.so" \
"${subpkgdir}/usr/lib/php/20060613/mysql.so"
depends="uclibc $pkgname mysql"
_mv_mod mysql
}
mysqli() {
depends="$pkgname mysql zlib openssl"
install -D -m755 "${srcdir}/${pkgname}-${pkgver}/modules/mysqli.so" \
"${subpkgdir}/usr/lib/php/20060613/mysqli.so"
depends="uclibc $pkgname mysql zlib openssl"
_mv_mod mysqli
}
openssl() {
depends="$pkgname openssl"
install -D -m755 "${srcdir}/${pkgname}-${pkgver}/modules/openssl.so" \
"${subpkgdir}/usr/lib/php/20060613/openssl.so"
depends="uclibc $pkgname openssl"
_mv_mod openssl
}
pdo() {
depends="$pkgname"
install -D -m755 "${srcdir}/${pkgname}-${pkgver}/modules/pdo.so" \
"${subpkgdir}/usr/lib/php/20060613/pdo.so"
depends="uclibc $pkgname"
_mv_mod pdo
}
pdo_mysql() {
depends="$pkgname mysql zlib openssl"
install -D -m755 "${srcdir}/${pkgname}-${pkgver}/modules/pdo_mysql.so" \
"${subpkgdir}/usr/lib/php/20060613/pdo_mysql.so"
depends="uclibc $pkgname mysql zlib openssl"
_mv_mod pdo_mysql
}
pdo_sqlite() {
depends="$pkgname sqlite"
install -D -m755 "${srcdir}/${pkgname}-${pkgver}/modules/pdo_sqlite.so" \
"${subpkgdir}/usr/lib/php/20060613/pdo_sqlite.so"
depends="uclibc $pkgname sqlite"
_mv_mod pdo_sqlite
}
posix() {
depends="$pkgname"
install -D -m755 "${srcdir}/${pkgname}-${pkgver}/modules/posix.so" \
"${subpkgdir}/usr/lib/php/20060613/posix.so"
depends="uclibc $pkgname"
_mv_mod posix
}
session() {
depends="$pkgname"
install -D -m755 "${srcdir}/${pkgname}-${pkgver}/modules/session.so" \
"${subpkgdir}/usr/lib/php/20060613/session.so"
depends="uclibc $pkgname"
_mv_mod session
}
shmop() {
depends="$pkgname"
install -D -m755 "${srcdir}/${pkgname}-${pkgver}/modules/mysqli.so" \
"${subpkgdir}/usr/lib/php/20060613/mysqli.so"
depends="uclibc $pkgname"
_mv_mod shmop
}
soap() {
depends="$pkgname libxml2 zlib"
install -D -m755 "${srcdir}/${pkgname}-${pkgver}/modules/soap.so" \
"${subpkgdir}/usr/lib/php/20060613/soap.so"
depends="uclibc $pkgname libxml2 zlib"
_mv_mod soap
}
sockets() {
depends="$pkgname"
install -D -m755 "${srcdir}/${pkgname}-${pkgver}/modules/sockets.so" \
"${subpkgdir}/usr/lib/php/20060613/sockets.so"
depends="uclibc $pkgname"
_mv_mod sockets
}
sqlite() {
depends="$pkgname"
install -D -m755 "${srcdir}/${pkgname}-${pkgver}/modules/sqlite.so" \
"${subpkgdir}/usr/lib/php/20060613/sqlite.so"
depends="uclibc $pkgname"
_mv_mod sqlite
}
sysvmsg() {
depends="$pkgname"
install -D -m755 "${srcdir}/${pkgname}-${pkgver}/modules/sysvmsg.so" \
"${subpkgdir}/usr/lib/php/20060613/sysvmsg.so"
depends="uclibc $pkgname"
_mv_mod sysvmsg
}
sysvsem() {
depends="$pkgname"
install -D -m755 "${srcdir}/${pkgname}-${pkgver}/modules/sysvsem.so" \
"${subpkgdir}/usr/lib/php/20060613/sysvsem.so"
depends="uclibc $pkgname"
_mv_mod sysvsem
}
sysvshm() {
depends="$pkgname"
install -D -m755 "${srcdir}/${pkgname}-${pkgver}/modules/sysvshm.so" \
"${subpkgdir}/usr/lib/php/20060613/sysvshm.so"
depends="uclibc $pkgname"
_mv_mod sysvshm
}
xmlrpc() {
depends="$pkgname libiconv libxml2 zlib"
install -D -m755 "${srcdir}/${pkgname}-${pkgver}/modules/xmlrpc.so" \
"${subpkgdir}/usr/lib/php/20060613/xmlrpc.so"
depends="uclibc $pkgname libiconv libxml2 zlib"
_mv_mod xmlrpc
}
zip() {
depends="$pkgname zlib"
install -D -m755 "${srcdir}/${pkgname}-${pkgver}/modules/zip.so" \
"${subpkgdir}/usr/lib/php/20060613/zip.so"
depends="uclibc $pkgname zlib"
_mv_mod zip
}
zlib() {
depends="$pkgname zlib"
install -D -m755 "${srcdir}/${pkgname}-${pkgver}/modules/zlib.so" \
"${subpkgdir}/usr/lib/php/20060613/zlib.so"
depends="uclibc $pkgname zlib"
_mv_mod zlib
}
# devleoper package
dev() {
default_dev
mkdir -p "$subpkgdir"/usr/lib/php/
mv "$pkgdir"/usr/lib/php/build "$subpkgdir"/usr/lib/php/
}
md5sums="8760a833cf10433d3e72271ab0d0eccf php-5.2.8.tar.bz2"
......@@ -4,10 +4,10 @@ pkgname=pingu
pkgver=0.2
pkgrel=0
pkgdesc="Small daemon that pings hosts and executes a script when status change"
url="http://dev.alpinelinux.org/cgit/cgit.cgi/pingu"
url="http://git.alpinelinux.org/cgit/pingu"
license="GPL"
depends="uclibc"
source="http://dev.alpinelinux.org/cgit/cgit.cgi/$pkgname/snapshot/$pkgname-$pkgver.tar.bz2
source="http://git.alpinelinux.org/cgit/$pkgname/snapshot/$pkgname-$pkgver.tar.bz2
pingu.initd
"
......
......@@ -4,16 +4,16 @@ pkgname=sntpc
pkgver=0.9
pkgrel=0
pkgdesc="Simple NTP client"
url="http://dev.alpinelinux.org/cgit/cgit.cgi/sntpc"
url="http://git.alpinelinux.org/cgit/sntpc"
license="GPL-2"
depends="uclibc"
source="http://dev.alpinelinux.org/cgit/cgit.cgi/sntpc/snapshot/sntpc-0.9.tar.bz2
source="http://git.alpinelinux.org/cgit/sntpc/snapshot/sntpc-$pkgver.tar.bz2
sntpc.initd
sntpc.confd
"
build() {
cd "$srcdir/$pkgname"
cd "$srcdir/$pkgname-$pkgver"
make || return 1
install -m755 -D sntpc "$pkgdir"/usr/sbin/sntpc
......@@ -21,6 +21,6 @@ build() {
install -m644 -D "$srcdir"/sntpc.confd "$pkgdir"/etc/conf.d/sntpc
}
md5sums="f42fb17ef688e0cea7e0267b1ec837ee sntpc-0.9.tar.bz2
md5sums="60c64d975daa3a6f371e9e81538e38db sntpc-0.9.tar.bz2
c5018237685af2cddb0b4ede1751bee1 sntpc.initd
4ea1ceee01f94080be86188bde8f9adc sntpc.confd"
pkgname=linux-sources
pkgver=2.6.28.4
_kernver=2.6.28
pkgrel=0
pkgdesc="The vanilla Linux kernel sources"
arch=i486
license=GPL-2
url=http://kernel.org
source="ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-$_kernver.tar.bz2
ftp://ftp.kernel.org/pub/linux/kernel/v2.6/patch-$pkgver.bz2
"
build() {
cd $srcdir/linux-$_kernver
if [ "$_kernver" != "$pkgver" ]; then
bunzip2 -c < ../patch-$pkgver.bz2 | patch -p1 || return 1
fi
mkdir -p "$pkgdir/usr/src"
cd "$srcdir"
mv "linux-$_kernver" "$pkgdir/usr/src/linux-$pkgver"
}
md5sums="d351e44709c9810b85e29b877f50968a linux-2.6.28.tar.bz2
65afbbf63a73ee7be7227531622049fe patch-2.6.28.4.bz2"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment