Commit fbd444c6 authored by Rasmus Thomsen's avatar Rasmus Thomsen
Browse files

community/tomcat-native: fix lints

parent 30e766a9
......@@ -10,12 +10,10 @@ license="Apache-2.0"
options="!check" # package has no tests
makedepends="apr-dev chrpath openjdk8 openssl-dev"
subpackages="$pkgname-dev"
source="https://www-eu.apache.org/dist/tomcat/tomcat-connectors/native/$pkgver/source/$pkgname-$pkgver-src.tar.gz"
source="https://www-eu.apache.org/dist/tomcat/tomcat-connectors/native/$pkgver/source/tomcat-native-$pkgver-src.tar.gz"
builddir="$srcdir/$pkgname-$pkgver-src/native"
build() {
cd "$builddir"
./configure --prefix=/usr \
--with-apr=/usr/bin/apr-1-config \
--with-java-home=/usr/lib/jvm/default-jvm \
......@@ -24,8 +22,6 @@ build() {
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
# Remove redundant rpath.
......@@ -35,7 +31,7 @@ package() {
rmdir "$pkgdir"/usr/bin
}
dev() {
dev() {
default_dev
mv "$subpkgdir"/usr/lib/libtcnative-1.so "$pkgdir"/usr/lib/
}
......
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