Skip to content
Snippets Groups Projects
Commit 0bd09495 authored by Natanael Copa's avatar Natanael Copa
Browse files

sample.APKBUILD: add more comments

parent 89580a53
No related branches found
No related tags found
No related merge requests found
...@@ -14,11 +14,15 @@ license="GPL" ...@@ -14,11 +14,15 @@ license="GPL"
depends="" depends=""
makedepends="" makedepends=""
install= install=
subpackages="$pkgname-doc $pkgname-dev" subpackages="$pkgname-dev $pkgname-doc"
source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz" source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"
# append extra dependencies to -dev subpackage
# remove if not used.
# depends_dev="somepackage-dev"
build() { build() {
cd "$srcdir/$pkgname-$pkgver" cd "$srcdir"/$pkgname-$pkgver
./configure --prefix=/usr \ ./configure --prefix=/usr \
--sysconfdir=/etc \ --sysconfdir=/etc \
...@@ -27,6 +31,7 @@ build() { ...@@ -27,6 +31,7 @@ build() {
make || return 1 make || return 1
make DESTDIR="$pkgdir" install make DESTDIR="$pkgdir" install
# remove the 2 lines below (and this) if there is no init.d script
# install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname # install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
# install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname # install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment