CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
time: updated mandir
authorVictor Martinez <pitillo@ono.com>
Fri, 13 Nov 2015 14:00:11 +0000 (14:00 +0000)
committerVictor Martinez <pitillo@ono.com>
Fri, 13 Nov 2015 14:00:11 +0000 (14:00 +0000)
time/.footprint
time/Pkgfile

index a3f896189411aa54bdf00448334bcd863c0f7fb9..b02474d53e3b1c9bf9cbb34f195c8ffc3ece80d8 100644 (file)
@@ -1,6 +1,7 @@
 drwxr-xr-x     root/root       usr/
 drwxr-xr-x     root/root       usr/bin/
 -rwxr-xr-x     root/root       usr/bin/time
-drwxr-xr-x     root/root       usr/man/
-drwxr-xr-x     root/root       usr/man/man1/
--rw-r--r--     root/root       usr/man/man1/time.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/time.1.gz
index f0c10a277205575b079f16bf8a754bc13067d8b5..7fa5e6faae8c142b96fd3432deaa54b50dc08bf7 100644 (file)
@@ -6,7 +6,7 @@
 
 name=time
 version=1.7
-release=1
+release=3
 source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz \
         resuse.h.patch $name.1)
 
@@ -16,12 +16,12 @@ build() {
 
   ./configure --build=$CHOST \
               --host=$CTARGET \
-              --prefix=/usr
+              --prefix=/usr \
+              --infodir=$PKG/usr/info
 
   make
   make prefix=$PKG/usr install
 
   rm -rf $PKG/usr/info
-  mkdir -p $PKG/usr/man/man1
-  cp ../$name.1 $PKG/usr/man/man1
+  install -D -m 0644 $SRC/$name.1 $PKG/usr/share/man/man1/$name.1
 }