diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2013-10-29 10:51:47 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-10-30 08:23:21 +0000 |
commit | 3ee5d0363fd5ae709deebda968b016bb5b915c72 (patch) | |
tree | 8ec800525196cdb658fdfd8b4e990dd68a756121 /main/tftp-hpa/APKBUILD | |
parent | c9e35918a94a6887dd0871d7347c95d7d4e24654 (diff) | |
download | aports-3ee5d0363fd5ae709deebda968b016bb5b915c72.tar.bz2 aports-3ee5d0363fd5ae709deebda968b016bb5b915c72.tar.xz |
main/tftp-hpa: update layout
Diffstat (limited to 'main/tftp-hpa/APKBUILD')
-rw-r--r-- | main/tftp-hpa/APKBUILD | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/main/tftp-hpa/APKBUILD b/main/tftp-hpa/APKBUILD index a42bf9408b..9e148b4ad6 100644 --- a/main/tftp-hpa/APKBUILD +++ b/main/tftp-hpa/APKBUILD @@ -6,32 +6,40 @@ pkgdesc="Official tftp server" url="http://www.kernel.org/pub/software/network/tftp/" arch="all" license="BSD" -depends= -makedepends= +depends="" +makedepends="" subpackages="$pkgname-doc" -source="http://www.kernel.org/pub/software/network/tftp/tftp-hpa/tftp-hpa-$pkgver.tar.xz +source="http://www.kernel.org/pub/software/network/tftp/tftp-hpa/$pkgname-$pkgver.tar.xz in.tftpd.initd in.tftpd.confd " +_builddir="$srcdir"/$pkgname-$pkgver build() { - cd "$srcdir"/$pkgname-$pkgver + cd "$_builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --mandir=/usr/share/man \ || return 1 - make + make || return 1 } package() { - cd "$srcdir"/$pkgname-$pkgver + cd "$_builddir" make INSTALLROOT="$pkgdir" install || return 1 install -d "$pkgdir"/var/tftpboot install -Dm755 ../in.tftpd.initd "$pkgdir"/etc/init.d/in.tftpd install -Dm755 ../in.tftpd.confd "$pkgdir"/etc/conf.d/in.tftpd } + md5sums="e86f58164166804e8ae5a46010f29317 tftp-hpa-5.2.tar.xz 3430e0b0e42c3321689d2c87e73d0749 in.tftpd.initd 914b43dd531176a8bb58fdb23d900fef in.tftpd.confd" +sha256sums="afee361df96a2f88344e191f6a25480fd714e1d28d176c3f10cc43fa206b718b tftp-hpa-5.2.tar.xz +c992ca77c7a42a0ccdc673b8344f34925cdb38d93ad3949ac659dd75dd2bd3b4 in.tftpd.initd +afa2397529a4f1494962fc1b9620763561d8237886e62e1ec669e06e96c171d0 in.tftpd.confd" +sha512sums="a5198e923a6e58281f749dc77b3f3ed8579e56b6f0fd6a17482cc88bdc8d34b6702c7c709717885b9b937ecae459d9a832328a49a2e3536dc7432cdb39d2a394 tftp-hpa-5.2.tar.xz +f86908215a5595c506ee8e22cea3f6f8a1dc4ae2951dfc73459dea34f8f25921d6121d8c91f21656735150a0e765593b86667d484404c3c649fe9588f3dc4a07 in.tftpd.initd +8a5de40dde8a5e569fce4309e01341a77a4e36cdcb5fe602948d5b34ee2646bd83840158d7d61a45c17e71cc893f3e9bd04a38ebcc7a6a8fff98f46a50d74e96 in.tftpd.confd" |