|
|
@ -20,7 +20,11 @@ |
|
|
|
# |
|
|
|
# --- ROCK-COPYRIGHT-NOTE-END --- |
|
|
|
|
|
|
|
var_append makeopt " " "PREFIX=$root/$prefix LDFLAGS='-L/lib -lncurses \ |
|
|
|
$(xml2-config --libs)'" |
|
|
|
makeinstopt="$makeopt install" |
|
|
|
snownews_main() { |
|
|
|
sed -e "s,/usr/local,/$prefix,g" -i configure |
|
|
|
./configure |
|
|
|
eval make $makeopt |
|
|
|
eval make install $makeinstopt |
|
|
|
} |
|
|
|
|
|
|
|
custmain="snownews_main" |