netcat: fixed mandir location
This commit is contained in:
parent
4e87b88f10
commit
18422ed56f
|
@ -2,6 +2,7 @@ drwxr-xr-x root/root usr/
|
|||
drwxr-xr-x root/root usr/bin/
|
||||
lrwxrwxrwx root/root usr/bin/nc -> netcat
|
||||
-rwxr-xr-x root/root usr/bin/netcat
|
||||
drwxr-xr-x root/root usr/man/
|
||||
drwxr-xr-x root/root usr/man/man1/
|
||||
-rw-r--r-- root/root usr/man/man1/netcat.1.gz
|
||||
drwxr-xr-x root/root usr/share/
|
||||
drwxr-xr-x root/root usr/share/man/
|
||||
drwxr-xr-x root/root usr/share/man/man1/
|
||||
-rw-r--r-- root/root usr/share/man/man1/netcat.1.gz
|
||||
|
|
|
@ -6,14 +6,17 @@
|
|||
|
||||
name=netcat
|
||||
version=0.7.1
|
||||
release=2
|
||||
release=3
|
||||
|
||||
source=(http://download.sourceforge.net/netcat/netcat-0.7.1.tar.bz2)
|
||||
|
||||
build() {
|
||||
cd $name-$version
|
||||
./configure --prefix=/usr
|
||||
|
||||
./configure --prefix=/usr \
|
||||
--mandir=/usr/share/man
|
||||
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
rm -rf $PKG/usr/{share,info}
|
||||
rm -rf $PKG/usr/{share/locale,info}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user