Commit 63cb154a authored by Natanael Copa's avatar Natanael Copa Committed by Leonardo Arena

testing/ulogd: add package function

(cherry picked from commit ac6a449c)
parent 689b9534
...@@ -21,6 +21,10 @@ build() { ...@@ -21,6 +21,10 @@ build() {
--mandir=/usr/share/man \ --mandir=/usr/share/man \
--infodir=/usr/share/info --infodir=/usr/share/info
make || return 1 make || return 1
}
package() {
cd "$srcdir/$pkgname-$_pkgver"
make DESTDIR="$pkgdir" install make DESTDIR="$pkgdir" install
install -Dm644 ulogd.conf "$pkgdir"/etc/ulogd.conf install -Dm644 ulogd.conf "$pkgdir"/etc/ulogd.conf
install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
......
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