
Receipt for package "notecase"
# SliTaz package receipt PACKAGE="notecase" VERSION="1.9.8" CATEGORY="office" SHORT_DESC="A hierarchical text notes manager" MAINTAINER="cooltaz@fastmail.fm" LICENSE="BSD" TARBALL="$PACKAGE-${VERSION}_src.tar.gz" WEB_SITE="https://notecase.sourceforge.net/" WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" TAGS="office notes" DEPENDS="gnome-vfs gtksourceview" BUILD_DEPENDS="gtk+-dev pixman-dev gtksourceview-dev gnome-vfs-dev GConf-dev \ pkg-config" # What is the latest version available today? current_version() { wget -O - https://sourceforge.net/projects/notecase/files/notecase/ 2>/dev/null | \ sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ sed '/scope="row/!d;s|.*/notecase/||;s|/.*||;q' } # Rules to configure and make the package. compile_rules() { export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11" busybox patch -p1 -i $stuff/notecase-1.9.8_gcc4.u || return 1 sed -i 's|uname -m|echo i486|' Makefile sed -i s/'install -D'/'install'/ Makefile sed -i 's/^DEBSIZE:=.*/DEBSIZE:=0/' Makefile* # Compile make CFLAGS="$(pkg-config gnome-vfs-2.0 --cflags)" # Locale trick (Makefile use install -D) cd po for i in `ls *.po | cut -f1 -d.` do mkdir -p $install/usr/share/locale/$i/LC_MESSAGES done cd .. # Install make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/share/applications cp -a $install/usr/bin $fs/usr cp -a $stuff/notecase.desktop $fs/usr/share/applications }
6088 packages and 256128 files in current database (Wed Mar 5 09:18:31 2025)