summaryrefslogtreecommitdiffstats
path: root/main/cups/APKBUILD
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2013-10-29 09:14:33 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-10-30 08:23:20 +0000
commit44dafe5dc2f1586029cc52c686711f78c02f3672 (patch)
tree5da34130ca616769b87c7b8820aaefbe7b08b643 /main/cups/APKBUILD
parent739eb0e7a96b1fcbe128dc87e6d9dc054e4d683b (diff)
downloadaports-44dafe5dc2f1586029cc52c686711f78c02f3672.tar.bz2
aports-44dafe5dc2f1586029cc52c686711f78c02f3672.tar.xz
main/cups: specifiy license
Diffstat (limited to 'main/cups/APKBUILD')
-rw-r--r--main/cups/APKBUILD10
1 files changed, 4 insertions, 6 deletions
diff --git a/main/cups/APKBUILD b/main/cups/APKBUILD
index d938d9842..f9f3828c8 100644
--- a/main/cups/APKBUILD
+++ b/main/cups/APKBUILD
@@ -1,11 +1,11 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=cups
pkgver=1.7.0
-pkgrel=0
+pkgrel=1
pkgdesc="The CUPS Printing System"
url="http://www.cups.org/"
arch="all"
-license="GPL"
+license="GPL LGPL2+"
subpackages="$pkgname-dev $pkgname-doc $pkgname-libs ipptool $pkgname-client
$pkgname-lang"
depends_dev="openssl-dev zlib-dev"
@@ -20,7 +20,6 @@ source="http://www.cups.org/software/$pkgver/cups-$pkgver-source.tar.bz2
cupsd.initd
"
-
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
local i
@@ -33,8 +32,7 @@ prepare() {
}
build() {
- cd "$srcdir"/$pkgname-$pkgver
-
+ cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -63,7 +61,7 @@ build() {
}
package() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$_builddir"
make BUILDROOT="$pkgdir" install
rm -rf "$pkgdir"/etc/init.d \
"$pkgdir"/etc/rc* \