projects/aports·blob v1.11 · refs

34 lines · 928 B

1# This is an example APKBUILD file. Use this as a start to creating your own,
2# and remove these comments.
3# NOTE: Please fill out the license field for your package! If it is unknown,
4# then please put 'unknown'.
5
6# Contributor: Your Name <[email protected]>
7# Maintainer: Your Name <[email protected]>
8pkgname=NAME
9pkgver=VERSION
10pkgrel=0
11pkgdesc=""
12url=""
13license="GPL"
14depends=""
15makedepends=""
16install=
17subpackages="$pkgname-doc $pkgname-dev"
18source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"
19
20build() {
21 cd "$srcdir/$pkgname-$pkgver"
22
23 ./configure --prefix=/usr \
24 --sysconfdir=/etc \
25 --mandir=/usr/share/man \
26 --infodir=/usr/share/info
27 make || return 1
28 make DESTDIR="$pkgdir" install
29
30 # install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
31 # install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname
32}
33
34md5sums="" #generate with 'abuild checksum'