CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
filesystem: removed lib32 directories
[crossrootfs.git] / attr / Pkgfile
index 3ac557e4e25c90a7ec31b29f2d685b54ba6b16c0..3749362fdf6b9758a658b137b2f4931c1a283154 100644 (file)
@@ -5,8 +5,8 @@
 
 name=attr
 version=2.4.47
-release=1
-source=(http://mirrors.zerg.biz/nongnu/$name/$name-$version.src.tar.gz)
+release=2
+source=(http://download-mirror.savannah.gnu.org/releases/$name/$name-$version.src.tar.gz)
 
 build() {
   cd $name-$version
@@ -18,8 +18,7 @@ build() {
               --host=$CTARGET \
               --prefix=/usr \
               --bindir=/bin \
-              --libexecdir=/usr/lib \
-              --mandir=/usr/man
+              --libexecdir=/usr/lib
   make
   make DIST_ROOT=$PKG install install-lib install-dev
 
@@ -29,7 +28,7 @@ build() {
   ln -s ../../lib/libattr.so.1.1.0 $PKG/usr/lib/libattr.so
 
   # category 2 manuals are included in core/man-pages
-  rm -r $PKG/usr/man/man2
+  rm -r $PKG/usr/share/man/man2
 
-  rm -r $PKG/usr/share
+  rm -r $PKG/usr/share/{doc,locale}
 }