2017-04-07 10:23:04 +02:00
|
|
|
|
# Description: Dosyaları çeşitli biçimlerde arşivlere ve arşivlerden kopyalar.
|
2016-02-24 01:27:23 +01:00
|
|
|
|
# URL: http://downloads.sourceforge.net/heirloom
|
2017-04-07 10:23:04 +02:00
|
|
|
|
# Packager: milisarge
|
2016-02-24 01:27:23 +01:00
|
|
|
|
# Depends on:
|
|
|
|
|
|
|
|
|
|
name=pax
|
|
|
|
|
version=070715
|
|
|
|
|
release=1
|
|
|
|
|
source=(http://downloads.sourceforge.net/heirloom/heirloom-070715.tar.bz2)
|
|
|
|
|
|
|
|
|
|
build() {
|
|
|
|
|
|
|
|
|
|
cd heirloom-$version
|
|
|
|
|
|
|
|
|
|
sed -i build/mk.config \
|
|
|
|
|
-e '/LIBZ/s@ -Wl[^ ]*@@g' \
|
|
|
|
|
-e '/LIBBZ2/{s@^#@@;s@ -Wl[^ ]*@@g}' \
|
|
|
|
|
-e '/BZLIB/s@0@1@'
|
|
|
|
|
|
|
|
|
|
make makefiles
|
|
|
|
|
make -C libcommon
|
|
|
|
|
make -C libuxre
|
|
|
|
|
make -C cpio
|
|
|
|
|
|
|
|
|
|
install -v -dm 755 $PKG/usr/bin
|
|
|
|
|
install -v -dm 755 $PKG/usr/share/man/man1
|
|
|
|
|
|
|
|
|
|
install -v -m755 cpio/pax_su3 $PKG/usr/bin/pax
|
|
|
|
|
install -v -m644 cpio/pax.1 $PKG/usr/share/man/man1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|