# Tanım: Grafik resimlerin manipüle edilmesi için bir araç seti # URL: http://netpbm.sourceforge.net/ # Paketçi: Cihan_Alkan # Gerekler: perl libpng libtiff libxml2 python jbigkit xorg-libx11 jasper # Grup: kütüphane isim=netpbm surum=10.71.02 devir=1 kaynak=(http://pkgs.fedoraproject.org/repo/pkgs/netpbm/netpbm-10.71.02.tar.xz/24df6a5baf36fa8943f046568726fd57/netpbm-10.71.02.tar.xz netpbm-noppmtompeg.patch) derle() { cd $isim-$surum touch converter/ppm/hpcdtoppm/depend.mk patch -p1 -E --backup --verbose -i ${SRC}/netpbm-noppmtompeg.patch # use the interactive way CFLAGS="${CFLAGS} -fPIC" LDSHLIB="${LDSHLIB} -fPIC" chmod 755 configure buildtools/stamp-date buildtools/install.sh buildtools/mkinstalldirs sed -i -e "s|\$(LDSHLIB)|\$(LDSHLIB) ${LDFLAGS}|g" lib/Makefile || exit 1 mv buildtools/pkgconfig_template buildtools/pkgconfig_template.orig cat > buildtools/pkgconfig_template <> buildtools/pkgconfig_template || exit 1 SOVER="$(grep '^MAJ =' lib/Makefile | awk '{print $3}')" #sed -i -e '/config_mk/d' buildtools/configure.pl ./configure < /dev/null mkdir -p ${PKG}/usr/lib${LIBDIRSUFFIX}/pkgconfig mv ${PKG}/usr/pkgconfig_template \ ${PKG}/usr/lib${LIBDIRSUFFIX}/pkgconfig/netpbm.pc || exit 1 rm -rf ${PKG}/usr/man mkdir -p $PKG/usr/share mv $PKG/usr/misc $PKG/usr/share/netpbm rm -f ${PKG}/usr/config_template rm -f ${PKG}/usr/pkginfo rm -f ${PKG}/usr/README rm -f ${PKG}/usr/VERSION rm -fr ${PKG}/usr/link }