diff options
author | Leah Neukirchen <leah@vuxu.org> | 2020-01-31 15:59:31 +0100 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2020-01-31 15:59:31 +0100 |
commit | 8b4c9aad73a0ec3bcf2bc2c66a356fc829a487ec (patch) | |
tree | 3dcd6061810fe0298cc9913f5b93f0df142f1eab /def/bzip2 | |
parent | 289055301db8c7bf26eaf47228e0747c69623bfd (diff) | |
download | mewix-8b4c9aad73a0ec3bcf2bc2c66a356fc829a487ec.tar.gz mewix-8b4c9aad73a0ec3bcf2bc2c66a356fc829a487ec.tar.xz mewix-8b4c9aad73a0ec3bcf2bc2c66a356fc829a487ec.zip |
add package categories, defaulting to a/
Diffstat (limited to 'def/bzip2')
-rw-r--r-- | def/bzip2 | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/def/bzip2 b/def/bzip2 deleted file mode 100644 index 00c66db..0000000 --- a/def/bzip2 +++ /dev/null @@ -1,31 +0,0 @@ -pkgname=bzip2 -version=1.0.8 -distfiles="https://sourceware.org/pub/${pkgname}/${pkgname}-${version}.tar.gz" - -do_build() { - make ${makejobs} CFLAGS="$CFLAGS -fPIC $LDFLAGS" LDFLAGS="$LDFLAGS" -f Makefile-libbz2_so - make ${makejobs} CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" bzip2recover libbz2.a -} - -do_install() { - # XXX ugly - - install -Dm755 bzip2-shared $DESTDIR/usr/bin/bzip2 - install -Dm755 bzip2recover $DESTDIR/usr/bin/ - ln -sf bzip2 ${DESTDIR}/usr/bin/bunzip2 - ln -sf bzip2 ${DESTDIR}/usr/bin/bzcat - install -m755 bzdiff bzgrep bzmore ${DESTDIR}/usr/bin - - install -Dm644 libbz2.so.${version} ${DESTDIR}/usr/lib/libbz2.so.${version} - ln -s libbz2.so.${version} ${DESTDIR}/usr/lib/libbz2.so - ln -s libbz2.so.${version} ${DESTDIR}/usr/lib/libbz2.so.1 - ln -s libbz2.so.${version} ${DESTDIR}/usr/lib/libbz2.so.1.0 - - install -Dm644 libbz2.a ${DESTDIR}/usr/lib/libbz2.a - install -Dm644 bzlib.h ${DESTDIR}/usr/include/bzlib.h - - install -Dm644 bzip2.1 ${DESTDIR}/usr/share/man/man1/bzip2.1 - ln -sf bzip2.1 ${DESTDIR}/usr/share/man/man1/bunzip2.1 - ln -sf bzip2.1 ${DESTDIR}/usr/share/man/man1/bzcat.1 - ln -sf bzip2.1 ${DESTDIR}/usr/share/man/man1/bzip2recover.1 -} |